Use timestamp of edited message when editing
This commit is contained in:
@@ -192,7 +192,9 @@ export async function sendEditedMessage(
|
|||||||
conversationId,
|
conversationId,
|
||||||
fromId,
|
fromId,
|
||||||
message: tmpMessage,
|
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
|
// Takes care of putting the message in the edit history, replacing the
|
||||||
|
Reference in New Issue
Block a user