summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0115/caps.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-02-11 19:53:57 -0800
committerLance Stout <lancestout@gmail.com>2013-02-11 19:53:57 -0800
commitcdeae7e72fb1d624fc45ffafcef08e30ac606720 (patch)
treea4ffa07f31e2a1f6483e993a7db1986a6208f8d3 /sleekxmpp/plugins/xep_0115/caps.py
parentfbf79755d72e35b365729d6f7e7d85fdadfb1403 (diff)
downloadslixmpp-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/plugins/xep_0115/caps.py')
-rw-r--r--sleekxmpp/plugins/xep_0115/caps.py5
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