Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/common/modules/chatstates.py
    ... ... @@ -253,6 +253,11 @@ def set_chatstate_delayed(self,
    253 253
             # Used when we go from Composing -> Active after deleting all text
    
    254 254
             # from the Textview. We delay the Active state because maybe the
    
    255 255
             # User starts writing again.
    
    256
    +
    
    257
    +        # Don’t send chatstates to ourself
    
    258
    +        if self._con.get_own_jid().bare_match(contact.jid):
    
    259
    +            return
    
    260
    +
    
    256 261
             self.remove_delay_timeout(contact)
    
    257 262
             self._delay_timeout_ids[contact.jid] = GLib.timeout_add_seconds(
    
    258 263
                 2, self.set_chatstate, contact, state)