Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
63c362f5 by wurstsalat at 2022-08-26T23:29:54+02:00
imprv: ChatList: Always show when switching workspace
Fixes #11108
- - - - -
1 changed file:
- gajim/gtk/main.py
Changes:
=====================================
gajim/gtk/main.py
=====================================
@@ -653,6 +653,13 @@ def activate_workspace(self, workspace_id: str) -> None:
self._main_stack.show_chats(workspace_id)
self._workspace_side_bar.activate_workspace(workspace_id)
+ # Show chatlist if it is hidden
+ chat_list_stack = self._chat_page.get_chat_list_stack()
+ chat_list = chat_list_stack.get_current_chat_list()
+ if chat_list is not None:
+ if not chat_list.is_visible():
+ self._toggle_chat_list()
+
def update_workspace(self, workspace_id: str) -> None:
self._chat_page.update_workspace(workspace_id)
self._workspace_side_bar.update_avatar(workspace_id)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/63c362f5f458ecc5b7771ac3d930e3b5…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/63c362f5f458ecc5b7771ac3d930e3b5…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
f9a3eaad by wurstsalat at 2022-08-26T17:38:27+02:00
fix: Chatstates: Don’t sent chatstate delayed to ourself
- - - - -
1 changed file:
- gajim/common/modules/chatstates.py
Changes:
=====================================
gajim/common/modules/chatstates.py
=====================================
@@ -253,6 +253,11 @@ def set_chatstate_delayed(self,
# Used when we go from Composing -> Active after deleting all text
# from the Textview. We delay the Active state because maybe the
# User starts writing again.
+
+ # Don’t send chatstates to ourself
+ if self._con.get_own_jid().bare_match(contact.jid):
+ return
+
self.remove_delay_timeout(contact)
self._delay_timeout_ids[contact.jid] = GLib.timeout_add_seconds(
2, self.set_chatstate, contact, state)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f9a3eaad543d8236c8c1a473b16d6afd…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f9a3eaad543d8236c8c1a473b16d6afd…
You're receiving this email because of your account on dev.gajim.org.