Fix out of order edit message read syncs

This commit is contained in:
Josh Perez 2023-09-01 16:27:18 -04:00 committed by GitHub
parent cf28e2dc2c
commit 372d9c2198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 28 deletions

View file

@ -326,8 +326,9 @@ export async function handleEditMessage(
drop(mainMessageConversation.updateLastMessage());
// Apply any other operations, excluding edits that target this message
await modifyTargetMessage(mainMessageModel, mainMessageConversation, {
isFirstRun: true,
isFirstRun: false,
skipEdits: true,
skipSave: true,
});
}