Scroll to message if clicking on opened conversation

This commit is contained in:
Josh Perez 2023-01-12 13:51:03 -05:00 committed by GitHub
parent 50a0110192
commit a1a2c68137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3498,6 +3498,10 @@ function showConversation({
const { conversations } = getState();
if (conversationId === conversations.selectedConversationId) {
if (conversationId && messageId) {
scrollToMessage(conversationId, messageId)(dispatch, getState, null);
}
return;
}