From 7e22d1eeab73ff213396e6c9e7a3f507b727dcfd Mon Sep 17 00:00:00 2001 From: rapterjet2004 Date: Mon, 23 Feb 2026 11:04:39 -0600 Subject: [PATCH] pinned messages are now opened properly in threads Signed-off-by: rapterjet2004 --- app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt b/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt index 902b6c300a4..af69f2c8730 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt @@ -2600,11 +2600,10 @@ class ChatActivity : } if (position != null && position >= 0) { val layoutManager = binding.messagesListView.layoutManager - // FIXME Not a perfect offset, but works to clear the pinned message view, try and find a better solution (layoutManager as LinearLayoutManager).scrollToPositionWithOffset(position, 500) } else { Log.d(TAG, "message $messageId that should be scrolled to was not found (scrollToMessageWithId)") - startContextChatWindowForMessage(messageId, conversationThreadId?.toString()) + startContextChatWindowForMessage(messageId, currentConversation?.internalId) } }