diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index 7812faa91..569425292 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java @@ -100,10 +100,13 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece ChatState state = ChatState.parse(packet); if (state != null && c != null) { final Account account = c.getAccount(); - Jid from = packet.getFrom(); + final Jid from = packet.getFrom(); if (from.asBareJid().equals(account.getJid().asBareJid())) { c.setOutgoingChatState(state); if (state == ChatState.ACTIVE || state == ChatState.COMPOSING) { + if (c.getContact().isSelf()) { + return false; + } mXmppConnectionService.markRead(c); activateGracePeriod(account); }