diff options
author | Lance Stout <lancestout@gmail.com> | 2013-02-11 19:53:57 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-02-11 19:53:57 -0800 |
commit | cdeae7e72fb1d624fc45ffafcef08e30ac606720 (patch) | |
tree | a4ffa07f31e2a1f6483e993a7db1986a6208f8d3 /sleekxmpp | |
parent | fbf79755d72e35b365729d6f7e7d85fdadfb1403 (diff) | |
download | slixmpp-cdeae7e72fb1d624fc45ffafcef08e30ac606720.tar.gz slixmpp-cdeae7e72fb1d624fc45ffafcef08e30ac606720.tar.bz2 slixmpp-cdeae7e72fb1d624fc45ffafcef08e30ac606720.tar.xz slixmpp-cdeae7e72fb1d624fc45ffafcef08e30ac606720.zip |
Make legacy caps log more useful, until we support legacy caps.
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/plugins/xep_0115/caps.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0115/caps.py b/sleekxmpp/plugins/xep_0115/caps.py index 1d8d9e42..fac1cc7c 100644 --- a/sleekxmpp/plugins/xep_0115/caps.py +++ b/sleekxmpp/plugins/xep_0115/caps.py @@ -138,7 +138,10 @@ class XEP_0115(BasePlugin): def _process_caps(self, pres): if not pres['caps']['hash']: - log.debug("Received unsupported legacy caps.") + log.debug("Received unsupported legacy caps: %s, %s, %s", + pres['caps']['node'], + pres['caps']['ver'], + pres['caps']['ext']) self.xmpp.event('entity_caps_legacy', pres) return |