aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-05-04 15:37:16 +0200
committerChristian Schneppe <christian@pix-art.de>2019-05-04 15:37:16 +0200
commit5d6876e3131c620c3dbcf840c9395fe796c42a5f (patch)
treea92818bd9b5b5c17b32c9140bd7d71844d0fba6b /src/main/java/de/pixart/messenger/entities
parent3abd3091ac6aa01b76bca5c6b17023d45fb084b8 (diff)
small message optimizations
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Message.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Message.java b/src/main/java/de/pixart/messenger/entities/Message.java
index 61ed8af6d..2a864f914 100644
--- a/src/main/java/de/pixart/messenger/entities/Message.java
+++ b/src/main/java/de/pixart/messenger/entities/Message.java
@@ -614,10 +614,10 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
!this.treatAsDownloadable() &&
!message.getBody().startsWith(ME_COMMAND) &&
!this.getBody().startsWith(ME_COMMAND) &&
- !this.bodyIsOnlyEmojis() &&
!message.bodyIsOnlyEmojis() &&
- !this.isXmppUri() &&
+ !this.bodyIsOnlyEmojis() &&
!message.isXmppUri() &&
+ !this.isXmppUri() &&
((this.axolotlFingerprint == null && message.axolotlFingerprint == null) || this.axolotlFingerprint.equals(message.getFingerprint())) &&
UIHelper.sameDay(message.getTimeSent(), this.getTimeSent()) &&
this.getReadByMarkers().equals(message.getReadByMarkers()) &&