diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-08 06:04:06 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-08 06:04:06 +0100 |
commit | 83c5fdaf0efcb3c85c0d753b347d0a53c7ac9495 (patch) | |
tree | 330f8235b2fdc4ddc4cd2e41557b4b24b7f3dbdc /src/eu/siacs | |
parent | 9a5a429888409fb4e52432e86f8dca49d4e97cdb (diff) |
step three. unread if sent msg in muc arrives. to cryptic? it does awesome shit to you
Diffstat (limited to 'src/eu/siacs')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 6495b4ab8..337f928c3 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -131,6 +131,9 @@ public class XmppConnectionService extends Service { if (message != null) { if (message.getStatus() == Message.STATUS_RECIEVED) { message.markUnread(); + } else { + message.getConversation().markRead(); + notify = false; } } } else if (packet.getType() == MessagePacket.TYPE_ERROR) { |