diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-09-13 21:38:18 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-09-13 21:38:18 +0200 |
commit | eb34cdc3e350a50ce98959bbf05f83813a6c2e12 (patch) | |
tree | e6257be6472dfb8bf6a91ac3c6ab52dfd3614bf8 /src/main/java/de/pixart/messenger/parser/MessageParser.java | |
parent | 1b45c333933f9e847439adfa6220ee4cb88ea7b9 (diff) |
keep track of previously edited ids
Diffstat (limited to 'src/main/java/de/pixart/messenger/parser/MessageParser.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/parser/MessageParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/parser/MessageParser.java b/src/main/java/de/pixart/messenger/parser/MessageParser.java index 8250bf3b8..cd747b2d1 100644 --- a/src/main/java/de/pixart/messenger/parser/MessageParser.java +++ b/src/main/java/de/pixart/messenger/parser/MessageParser.java @@ -671,7 +671,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece final String uuid = replacedMessage.getUuid(); replacedMessage.setUuid(UUID.randomUUID().toString()); replacedMessage.setBody(message.getBody()); - replacedMessage.setEdited(replacedMessage.getRemoteMsgId()); + replacedMessage.putEdited(replacedMessage.getRemoteMsgId(), replacedMessage.getServerMsgId()); replacedMessage.setRemoteMsgId(remoteMsgId); if (replacedMessage.getServerMsgId() == null || message.getServerMsgId() != null) { replacedMessage.setServerMsgId(message.getServerMsgId()); |