diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-10-11 22:10:02 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-10-11 22:10:02 +0300 |
commit | 44a138885a6a8bcb638373916c24f74b920b6698 (patch) | |
tree | 3f49b09a13fd767556cad7d8891d0a6de3e240f9 | |
parent | 8deabc046c543179dbd4a51849102d3a5ddbbcc5 (diff) |
fix: MUC: Always remove rejoin timer when closing chat
-rw-r--r-- | gajim/common/modules/muc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gajim/common/modules/muc.py b/gajim/common/modules/muc.py index 0aff4539e..3dee1d3b9 100644 --- a/gajim/common/modules/muc.py +++ b/gajim/common/modules/muc.py @@ -366,10 +366,11 @@ class MUC(BaseModule): if muc_data is None: return + self._remove_rejoin_timeout(room_jid) + if muc_data.state.is_not_joined: return - self._remove_rejoin_timeout(room_jid) self._con.get_module('Presence').send_presence( muc_data.occupant_jid, |