Pass contact instead of string

Fixes #9529
This commit is contained in:
Philipp Hörist 2019-01-06 11:10:07 +01:00
parent a64d986c7f
commit 6a958c5725
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class Chatstate:
if not contact.supports(nbxmpp.NS_CHATSTATES): if not contact.supports(nbxmpp.NS_CHATSTATES):
return None return None
self.set_active(contact.jid) self.set_active(contact)
return 'active' return 'active'
@ensure_enabled @ensure_enabled