diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-20 00:01:39 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-20 00:01:39 +0100 |
commit | 3bde4dbedb80a8e1de89c09f58d842d7382598e8 (patch) | |
tree | 4f0eb40378d7a4a6a2a992327f184dfaddf78ad5 /src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | e6f8b7d9fa30e4e231a07cdbbb225e462893eb3d (diff) |
change uuid when replacing messages
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 5 |
1 files changed, 5 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 9b7306378..b836e780a 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2159,6 +2159,11 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa updateConversationUi(); } + public void updateMessage(Message message, String uuid) { + databaseBackend.updateMessage(message, uuid); + updateConversationUi(); + } + protected void syncDirtyContacts(Account account) { for (Contact contact : account.getRoster().getContacts()) { if (contact.getOption(Contact.Options.DIRTY_PUSH)) { |