Philipp Hörist pushed to branch master at gajim / gajim


Commits:
bd6c8e1d by Philipp Hörist at 2026-08-25T20:01:59+02:00
fix: ActivityFeed: Fix clicking on reaction sometimes did not scroll to the 
message

- - - - -


2 changed files:

- gajim/gtk/chat_page.py
- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/chat_page.py
=====================================
@@ -324,6 +324,9 @@ def load_workspace_chats(self, workspace_id: str) -> None:
                 position=open_chat["position"],
             )
 
+    def is_chat_visible(self) -> bool:
+        return self._chat_stack.get_visible_child_name() in ("controls", 
"function")
+
     def is_chat_selected(self, account: str, jid: JID) -> bool:
         return self._chat_list_stack.is_chat_selected(account, jid)
 


=====================================
gajim/gtk/main.py
=====================================
@@ -1014,6 +1014,8 @@ def is_chat_active(self, account: str, jid: JID) -> bool:
             return False
         if self._main_stack.get_visible_page_name() != "chats":
             return False
+        if not self._chat_page.is_chat_visible():
+            return False
         return self._chat_page.is_chat_selected(account, jid)
 
     def highlight_dnd_targets(self, dragged_object: Any, highlight: bool) -> 
None:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/bd6c8e1dcedb41838794dcecdaf914b7ebf94292

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/bd6c8e1dcedb41838794dcecdaf914b7ebf94292
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to