mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Use timestamp of edited message when editing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user