Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: f9a3eaad by wurstsalat at 2022-08-26T17:38:27+02:00 fix: Chatstates: Don’t sent chatstate delayed to ourself
- - - - -
1 changed file:
- gajim/common/modules/chatstates.py
Changes:
===================================== gajim/common/modules/chatstates.py ===================================== @@ -253,6 +253,11 @@ def set_chatstate_delayed(self, # Used when we go from Composing -> Active after deleting all text # from the Textview. We delay the Active state because maybe the # User starts writing again. + + # Don’t send chatstates to ourself + if self._con.get_own_jid().bare_match(contact.jid): + return + self.remove_delay_timeout(contact) self._delay_timeout_ids[contact.jid] = GLib.timeout_add_seconds( 2, self.set_chatstate, contact, state)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/f9a3eaad543d8236c8c1a473b16d6afd0...