send_received muc messages will mark a conversation a read

This commit is contained in:
Daniel Gultsch 2015-06-04 02:47:24 +02:00
parent 53e8964dc1
commit 6b794eca2c

View file

@ -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 {