Adjust starting point of conversation open benchmark

This commit is contained in:
trevor-signal 2023-12-15 17:49:01 -05:00 committed by GitHub
parent f07c53facd
commit 9b0290f40e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4017,6 +4017,7 @@ function showConversation({
)
);
}
window.ConversationController.get(conversationId)?.onOpenStart();
dispatch({
type: TARGETED_CONVERSATION_CHANGED,
@ -4047,8 +4048,6 @@ function onConversationOpened(
throw new Error('onConversationOpened: Conversation not found');
}
conversation.onOpenStart();
if (messageId) {
const message = await __DEPRECATED$getMessageById(messageId);