aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-06-04 02:47:24 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-06-04 02:47:24 +0200
commit6b794eca2cfc8d1edf4f73c740a3e1b4e966da27 (patch)
tree5158031ceb9dae6a70d204879db50945b9efb160 /src/main/java
parent53e8964dc17e5c994eda369e78c3bb81133abd9b (diff)
send_received muc messages will mark a conversation a read
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/parser/MessageParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java
index d0d517ee..96568fbd 100644
--- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java
+++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java
@@ -320,7 +320,7 @@ public class MessageParser extends AbstractParser implements
}
conversation.add(message);
if (serverMsgId == null) {
- if (status == Message.STATUS_SEND) {
+ if (status == Message.STATUS_SEND || status == Message.STATUS_SEND_RECEIVED) {
mXmppConnectionService.markRead(conversation);
account.activateGracePeriod();
} else {