diff options
author | Daniel Gultsch <inputmice@siacs.eu> | 2015-01-03 18:22:26 +0100 |
---|---|---|
committer | Daniel Gultsch <inputmice@siacs.eu> | 2015-01-03 18:22:26 +0100 |
commit | fc8bd64bfdc1586f371392c96c2daefb3aed1d41 (patch) | |
tree | c5399afb0c98a76ef634e965493ec781835d5591 /src/main | |
parent | be7de054be6b31b82947b9c641c8b1d5bbefb284 (diff) |
void messages getting reloaded through mam after clear history
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index ec904fbb..6bdc55a1 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2159,6 +2159,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa public void clearConversationHistory(final Conversation conversation) { conversation.clearMessages(); + conversation.setHasMessagesLeftOnServer(false); //avoid messages getting loaded through mam new Thread(new Runnable() { @Override public void run() { |