remove identifier from message to disable syncing of them on events callback

pull/1205/head
Audric Ackermann 5 years ago
parent 0474e84b19
commit 1a09ba0b35
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -1852,8 +1852,8 @@
}
const updateParams = {
// if we do set an identifier here, be sure to not sync the message two times in msg.handleMessageSentSuccess()
timestamp: Date.now(),
identifier: messageId,
groupId: this.id,
name: this.get('name'),
avatar: this.get('avatar'),
@ -1926,7 +1926,7 @@
const quitGroup = {
timestamp: Date.now(),
groupId: this.id,
identifier: id,
// if we do set an identifier here, be sure to not sync it a second time in handleMessageSentSuccess()
};
const quitGroupMessage = new libsession.Messages.Outgoing.ClosedGroupLeaveMessage(
quitGroup

Loading…
Cancel
Save