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


Commits:
c8ab6efb by Philipp Hörist at 2025-08-31T20:01:20+02:00
fix: MUC: Don’t fail to rejoin after service shutdown

Fixes #12447

- - - - -


1 changed file:

- gajim/common/modules/muc.py


Changes:

=====================================
gajim/common/modules/muc.py
=====================================
@@ -338,6 +338,9 @@ def _join(self, muc_data: MUCData) -> None:
         self._con.send_stanza(presence)
 
     def _rejoin(self, room_jid: JID) -> bool:
+        if not self._client.state.is_available:
+            return True
+
         muc_data = self._mucs[room_jid]
         if muc_data.state.is_not_joined:
             self._log.info('Rejoin %s', room_jid)



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

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