void messages getting reloaded through mam after clear history
This commit is contained in:
parent
be7de054be
commit
fc8bd64bfd
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue