void messages getting reloaded through mam after clear history

This commit is contained in:
Daniel Gultsch 2015-01-03 18:22:26 +01:00
parent be7de054be
commit fc8bd64bfd
1 changed files with 1 additions and 0 deletions

View File

@ -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() {