diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-10-02 18:31:19 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-10-02 18:31:19 +0200 |
commit | f8be57d43f83925d7f298ee1d34ef8cee32acec3 (patch) | |
tree | ea5eb22ae26473bba4dc81aec0017a44f8747f56 /src/eu/siacs/conversations/services/XmppConnectionService.java | |
parent | 4b09f0e9d3296b4b71d3b31c9102610cc8037d20 (diff) |
show displayed by contact on all devices
Diffstat (limited to 'src/eu/siacs/conversations/services/XmppConnectionService.java')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 0676c603..ffef19ed 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -1545,7 +1545,9 @@ public class XmppConnectionService extends Service { public boolean markMessage(Conversation conversation, String uuid, int status) { for (Message message : conversation.getMessages()) { - if (message.getUuid().equals(uuid)) { + if (message.getUuid().equals(uuid) + || (message.getStatus() >= Message.STATUS_SEND && uuid + .equals(message.getRemoteMsgId()))) { markMessage(message, status); return true; } @@ -1758,7 +1760,7 @@ public class XmppConnectionService extends Service { } return contacts; } - + public NotificationService getNotificationService() { return this.mNotificationService; } |