aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java3
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 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) {