diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-10-17 21:52:44 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-10-17 21:52:44 +0300 |
commit | e126f7ba4fc328f3388963fc8c0bb3a9fd2350a4 (patch) | |
tree | 45b0a2ec44863ac01ee4da746067e88f05d859b4 | |
parent | 3f24fd563cc2a0098944a743d36bc0462b5171a6 (diff) |
fix: Chatstates: Remove timeout id on remote timeout
-rw-r--r-- | gajim/common/modules/chatstates.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gajim/common/modules/chatstates.py b/gajim/common/modules/chatstates.py index 3a341f6ee..84de9db2b 100644 --- a/gajim/common/modules/chatstates.py +++ b/gajim/common/modules/chatstates.py @@ -191,6 +191,7 @@ class Chatstate(BaseModule): contact.notify('chatstate-update') def _on_remote_composing_timeout(self, contact: types.ContactT): + self._remote_chatstate_composing_timeouts.pop(contact.jid, None) self._log.info( 'Automatically switching the chat state of %s to ACTIVE', contact) self._remote_chatstate[contact.jid] = State.ACTIVE |