Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
c5eafea2 by wurstsalat at 2022-10-27T20:24:53+02:00
fix: Try leaving group chat only if account is online
Fixes #11247
- - - - -
1 changed file:
- gajim/gtk/chat_page.py
Changes:
=====================================
gajim/gtk/chat_page.py
=====================================
@@ -317,7 +317,7 @@ def _on_chat_removed(self,
if self._chat_control.is_loaded(account, jid):
self._chat_control.clear()
- if type_ == 'groupchat':
+ if type_ == 'groupchat' and app.account_is_connected(account):
client = app.get_client(account)
client.get_module('MUC').leave(jid)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c5eafea2c3cb3068d522919ee87d20a2ed74a005
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c5eafea2c3cb3068d522919ee87d20a2ed74a005
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits