Philipp Hörist pushed to branch master at gajim / gajim
Commits: 5776d3de by Philipp Hörist at 2019-01-06T10:23:30Z Chatstates: Add more log output
- - - - -
1 changed file:
- gajim/common/modules/chatstates.py
Changes:
===================================== gajim/common/modules/chatstates.py ===================================== @@ -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'): + log.info('Contact not subscribed: %s', contact.jid) return
if contact.show == 'offline': + log.info('Contact offline: %s', contact.jid) return
if not contact.supports(nbxmpp.NS_CHATSTATES): + log.info('Chatstates not supported: %s', contact.jid) return
if state in (State.ACTIVE, State.COMPOSING):
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5776d3de4824cd74c1b9be7bc41277ae661...