Scroll to message if clicking on opened conversation
This commit is contained in:
@@ -3498,6 +3498,10 @@ function showConversation({
|
|||||||
const { conversations } = getState();
|
const { conversations } = getState();
|
||||||
|
|
||||||
if (conversationId === conversations.selectedConversationId) {
|
if (conversationId === conversations.selectedConversationId) {
|
||||||
|
if (conversationId && messageId) {
|
||||||
|
scrollToMessage(conversationId, messageId)(dispatch, getState, null);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user