Fix show same conversation composer focus
This commit is contained in:
parent
69ef63ad18
commit
c9af8d3ce2
1 changed files with 6 additions and 1 deletions
|
@ -3954,9 +3954,14 @@ function showConversation({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conversationId === conversations.selectedConversationId) {
|
if (conversationId === conversations.selectedConversationId) {
|
||||||
if (conversationId && messageId) {
|
if (!conversationId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (messageId) {
|
||||||
dispatch(scrollToMessage(conversationId, messageId));
|
dispatch(scrollToMessage(conversationId, messageId));
|
||||||
}
|
}
|
||||||
|
dispatch(setComposerFocus(conversationId));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue