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;
|
status = Message.STATUS_SEND_RECEIVED;
|
||||||
if (mXmppConnectionService.markMessage(conversation, remoteMsgId, status)) {
|
if (mXmppConnectionService.markMessage(conversation, remoteMsgId, status)) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else if (remoteMsgId == null) {
|
||||||
Message message = conversation.findSentMessageWithBody(body);
|
Message message = conversation.findSentMessageWithBody(packet.getBody());
|
||||||
if (message != null) {
|
if (message != null) {
|
||||||
message.setRemoteMsgId(remoteMsgId);
|
|
||||||
mXmppConnectionService.markMessage(message, status);
|
mXmppConnectionService.markMessage(message, status);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue