diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-10-18 22:02:37 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-10-18 22:02:37 +0200 |
commit | 8760759e895506a7df8e6188a668698e820d4469 (patch) | |
tree | d3043380ebe72585cf106c434ef3ff5e30f3fe5d /src/main/java/de/pixart/messenger/ui/adapter | |
parent | 92c0e993ad3362d1b2ec75f7886bbc2e01f3d253 (diff) |
update conversation in database background thread
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/adapter')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index e3e77c589..258cbba07 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -519,7 +519,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { private void loadMoreMessages(Conversation conversation) { conversation.setLastClearHistory(0); - activity.xmppConnectionService.databaseBackend.updateConversation(conversation); + activity.xmppConnectionService.updateConversation(conversation); conversation.setHasMessagesLeftOnServer(true); conversation.setFirstMamReference(null); long timestamp = conversation.getLastMessageTransmitted(); |