From 742727504f5bee3472825fe207dd1fdf7bb7f8ea Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 19 Feb 2018 15:52:33 +0100 Subject: [PATCH] fixed handling of self address messages w/o remoteMsgId --- src/main/java/eu/siacs/conversations/parser/MessageParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index fcf358e8c..e580231ae 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java @@ -444,7 +444,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece return; } status = Message.STATUS_RECEIVED; - if (conversation.findMessageWithRemoteId(remoteMsgId,counterpart) != null) { + if (remoteMsgId != null && conversation.findMessageWithRemoteId(remoteMsgId,counterpart) != null) { return; } }