check for query object as condition to trigger deduplication instead of serverId
This commit is contained in:
parent
72b781b845
commit
6358f641e7
|
@ -388,7 +388,7 @@ public class MessageParser extends AbstractParser implements
|
|||
}
|
||||
}
|
||||
updateLastseen(packet,account,true);
|
||||
boolean checkForDuplicates = serverMsgId != null
|
||||
boolean checkForDuplicates = query != null
|
||||
|| (isTypeGroupChat && packet.hasChild("delay","urn:xmpp:delay"))
|
||||
|| message.getType() == Message.TYPE_PRIVATE;
|
||||
if (checkForDuplicates && conversation.hasDuplicateMessage(message)) {
|
||||
|
|
Loading…
Reference in a new issue