[Git][gajim/gajim][master] Chatstates: Add more log output

Philipp Hörist gitlab at dev.gajim.org
Sun Jan 6 11:23:44 CET 2019


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/5776d3de4824cd74c1b9be7bc41277ae66161a0a

-- 
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/5776d3de4824cd74c1b9be7bc41277ae66161a0a
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20190106/400c0197/attachment-0001.html>


More information about the Commits mailing list