summaryrefslogtreecommitdiff
path: root/src/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.py')
-rw-r--r--src/connection.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connection.py b/src/connection.py
index 224b7632..642614dd 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -105,11 +105,11 @@ class Connection(threading.Thread):
"""
registers handlers from xmpppy signals
"""
- # self.client.RegisterHandler('iq', self.on_get_time, typ='get',
- # ns="urn:xmpp:time")
+ self.client.RegisterHandler('iq', self.on_get_time, typ='get',
+ ns="urn:xmpp:time")
self.client.RegisterHandler('iq', self.on_get_vcard)
- # self.client.RegisterHandler('iq', self.on_get_version, typ='get',
- # ns=xmpp.NS_VERSION)
+ self.client.RegisterHandler('iq', self.on_get_version, typ='get',
+ ns=xmpp.NS_VERSION)
self.client.RegisterHandler('presence', self.handler_presence)
self.client.RegisterHandler('message', self.handler_message)