removed unnecessary conditions when sending read marker

This commit is contained in:
Daniel Gultsch 2016-02-15 23:09:42 +01:00
parent c4b1df1bf3
commit 335058b78b
1 changed files with 1 additions and 5 deletions

View File

@ -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);
}
}