mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 09:42:17 -05:00
removed unnecessary conditions when sending read marker
This commit is contained in:
parent
c4b1df1bf3
commit
335058b78b
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user