Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-10-17 21:52:44 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-10-17 21:52:44 +0300
commite126f7ba4fc328f3388963fc8c0bb3a9fd2350a4 (patch)
tree45b0a2ec44863ac01ee4da746067e88f05d859b4
parent3f24fd563cc2a0098944a743d36bc0462b5171a6 (diff)
fix: Chatstates: Remove timeout id on remote timeout
-rw-r--r--gajim/common/modules/chatstates.py1
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