diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-15 23:09:42 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-15 23:09:42 +0100 |
commit | 335058b78bb20f8234d98fb4f205a1954b25e7e8 (patch) | |
tree | 6311aacf54196e13893269c4d9d1be51d886e711 /src | |
parent | c4b1df1bf305a84a972837298106de2674bb1c5c (diff) |
removed unnecessary conditions when sending read marker
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index 5ec2dc97..11e2e889 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -366,11 +366,7 @@ public class ConversationActivity extends XmppActivity public void sendReadMarkerIfNecessary(final Conversation conversation) { if (!mActivityPaused && conversation != null) { - if (!conversation.isRead()) { - xmppConnectionService.sendReadMarker(conversation); - } else { - xmppConnectionService.markRead(conversation); - } + xmppConnectionService.sendReadMarker(conversation); } } |