diff options
author | steckbrief <steckbrief@chefmail.de> | 2015-12-06 16:20:11 +0100 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2015-12-06 16:20:11 +0100 |
commit | eb5a7a5392ec93976d91d5576a3496ceac473d03 (patch) | |
tree | 8b43e53a205df0e24ddcdf12f905b7381a7ea411 /src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java | |
parent | 0086d5dc80dd95b1e8e4dcfe2d3d3090d260bb88 (diff) |
Fix flagging no more messages on server for conversation
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java b/src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java index eee81b90..ec1d5da1 100644 --- a/src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java +++ b/src/main/java/de/thedevstack/conversationsplus/services/MessageArchiveService.java @@ -134,10 +134,10 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded { if (conversation.setLastMessageTransmitted(query.getEnd())) { this.mXmppConnectionService.databaseBackend.updateConversation(conversation); } - conversation.setHasMessagesLeftOnServer(query.getMessageCount() > 0); if (query.hasCallback()) { query.callback(); } else { + conversation.setHasMessagesLeftOnServer(query.getMessageCount() > 0); this.mXmppConnectionService.updateConversationUi(); } } else { |