Revert "improved compatibility with muc components that change the message id"

This reverts commit df86b0fc47.
This commit is contained in:
Daniel Gultsch 2015-08-26 11:39:18 +02:00
parent 4424a818df
commit 3e0636367a
1 changed files with 2 additions and 3 deletions

View File

@ -311,10 +311,9 @@ public class MessageParser extends AbstractParser implements
status = Message.STATUS_SEND_RECEIVED;
if (mXmppConnectionService.markMessage(conversation, remoteMsgId, status)) {
return;
} else {
Message message = conversation.findSentMessageWithBody(body);
} else if (remoteMsgId == null) {
Message message = conversation.findSentMessageWithBody(packet.getBody());
if (message != null) {
message.setRemoteMsgId(remoteMsgId);
mXmppConnectionService.markMessage(message, status);
return;
}