Use timestamp of edited message when editing
This commit is contained in:
parent
da09c72c99
commit
abb839c24b
1 changed files with 3 additions and 1 deletions
|
@ -192,7 +192,9 @@ export async function sendEditedMessage(
|
|||
conversationId,
|
||||
fromId,
|
||||
message: tmpMessage,
|
||||
targetSentTimestamp: targetMessage.attributes.timestamp,
|
||||
targetSentTimestamp:
|
||||
targetMessage.attributes.editMessageTimestamp ??
|
||||
targetMessage.attributes.timestamp,
|
||||
};
|
||||
|
||||
// Takes care of putting the message in the edit history, replacing the
|
||||
|
|
Loading…
Reference in a new issue