On send, pull data from target edit if sending edit

This commit is contained in:
Scott Nonnenberg 2023-11-17 10:16:48 -08:00 committed by GitHub
parent 146b562c91
commit 48245eeea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 529 additions and 135 deletions

View file

@ -218,7 +218,7 @@ export async function sendEditedMessage(
conversationId,
messageId: targetMessageId,
revision: conversation.get('revision'),
editedMessageTimestamp: targetSentTimestamp,
editedMessageTimestamp: timestamp,
},
async jobToInsert => {
log.info(
@ -246,7 +246,7 @@ export async function sendEditedMessage(
now: timestamp,
});
},
duration => `${idLog}: batchDisptach took ${duration}ms`
duration => `${idLog}: batchDispatch took ${duration}ms`
);
window.Signal.Data.updateConversation(conversation.attributes);