Revert "improved compatibility with muc components that change the message id"
This reverts commit df86b0fc47
.
This commit is contained in:
parent
4424a818df
commit
3e0636367a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue