reset chatstate of a contact that signed out
This commit is contained in:
parent
0c64b91de4
commit
485dc4bcbb
|
@ -361,7 +361,11 @@ class Interface:
|
|||
self.roster.popup_notification_windows.append(instance)
|
||||
if self.remote and self.remote.is_enabled():
|
||||
self.remote.raise_signal('ContactPresence',
|
||||
(account, array))
|
||||
(account, array))
|
||||
|
||||
# when contact signs out we reset his chatstate
|
||||
contact = gaim.get_first_contact_instance_from_jid(acccount, jid)
|
||||
contact.chatstate = None
|
||||
|
||||
elif old_show > 1 and new_show < 2:
|
||||
if gajim.config.get_per('soundevents', 'contact_disconnected',
|
||||
|
|
Loading…
Reference in New Issue