diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-08-09 00:05:44 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-08-09 00:05:44 +0000 |
commit | 835527e2d130cd427972cadfc82d10ee36391e52 (patch) | |
tree | 1a0002e851af6f5b621b6d72044620b72756ac3b /src/connection.py | |
parent | 4bde31a5862e84891bc782a53ca3b3ab30a55fc6 (diff) | |
download | poezio-835527e2d130cd427972cadfc82d10ee36391e52.tar.gz poezio-835527e2d130cd427972cadfc82d10ee36391e52.tar.bz2 poezio-835527e2d130cd427972cadfc82d10ee36391e52.tar.xz poezio-835527e2d130cd427972cadfc82d10ee36391e52.zip |
Writing to file doesn't remove comments. fixed #1713
Diffstat (limited to 'src/connection.py')
-rw-r--r-- | src/connection.py | 8 |
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) |