From 83c5fdaf0efcb3c85c0d753b347d0a53c7ac9495 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 8 Mar 2014 06:04:06 +0100 Subject: step three. unread if sent msg in muc arrives. to cryptic? it does awesome shit to you --- src/eu/siacs/conversations/services/XmppConnectionService.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/eu/siacs') diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 6495b4ab..337f928c 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) { -- cgit v1.2.3