Fix show same conversation composer focus

This commit is contained in:
ayumi-signal 2023-10-02 09:42:54 -04:00 committed by GitHub
parent 69ef63ad18
commit c9af8d3ce2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3954,9 +3954,14 @@ function showConversation({
}
if (conversationId === conversations.selectedConversationId) {
if (conversationId && messageId) {
if (!conversationId) {
return;
}
if (messageId) {
dispatch(scrollToMessage(conversationId, messageId));
}
dispatch(setComposerFocus(conversationId));
return;
}