Commit 5776d3de authored by Philipp Hörist's avatar Philipp Hörist

Chatstates: Add more log output

parent 6a958c57
......@@ -301,12 +301,15 @@ class Chatstate:
# which are not allowed to see our status
if not contact.is_pm_contact:
if contact and contact.sub in ('to', 'none'):'Contact not subscribed: %s', contact.jid)
if == 'offline':'Contact offline: %s', contact.jid)
if not contact.supports(nbxmpp.NS_CHATSTATES):'Chatstates not supported: %s', contact.jid)
if state in (State.ACTIVE, State.COMPOSING):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment