Fixes edit message conversation not being the right convo

This commit is contained in:
Josh Perez
2023-05-09 11:18:08 -04:00
committed by GitHub
parent 6b1a56208f
commit 4b7f1dbada

View File

@@ -221,7 +221,9 @@ export async function handleEditMessage(
mainMessageModel.set(updatedFields);
}
const conversation = window.ConversationController.get(editAttributes.fromId);
const conversation = window.ConversationController.get(
editAttributes.conversationId
);
// Send delivery receipts, but only for non-story sealed sender messages
// and not for messages from unaccepted conversations.