Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
ecf39613 by wurstsalat at 2023-04-26T19:35:27+02:00
fix: Ask for confirmation when leaving a MUC while offline

Fixes #11487

- - - - -


1 changed file:

- gajim/gtk/chat_list_stack.py


Changes:

=====================================
gajim/gtk/chat_list_stack.py
=====================================
@@ -278,7 +278,8 @@ def _remove() -> None:
         client = app.get_client(account)
         contact = client.get_module('Contacts').get_contact(jid, 
groupchat=True)
 
-        if contact.is_not_joined:
+        if contact.is_not_joined and client.state.is_available:
+            # For example a chat opened from the search bar
             _remove()
             return
 



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ecf39613291622fc0fc8568af71fc88f94d82176
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

Reply via email to