From e126f7ba4fc328f3388963fc8c0bb3a9fd2350a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 17 Oct 2023 20:52:44 +0200 Subject: fix: Chatstates: Remove timeout id on remote timeout --- gajim/common/modules/chatstates.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3