Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: e3056b72 by wurstsalat at 2022-05-15T00:48:50+02:00 fix: Improve joining support chat if single account is online
- - - - -
1 changed file:
- gajim/gtk/application.py
Changes:
===================================== gajim/gtk/application.py ===================================== @@ -663,6 +663,11 @@ def _on_content_action(_action: Gio.SimpleAction, @staticmethod def _on_join_support_chat(_action: Gio.SimpleAction, _param: Optional[GLib.Variant]) -> None: + accounts = list(app.connections.keys()) + if len(accounts) == 1: + app.interface.show_add_join_groupchat( + accounts[0], GAJIM_SUPPORT_JID) + return open_window('StartChatDialog', jid=GAJIM_SUPPORT_JID)
@staticmethod
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e3056b72d9fe5fad3e9adfc73cb614ab1...