summaryrefslogtreecommitdiff
path: root/sleekxmpp/__init__.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-03-26 14:02:10 -0700
committerNathan Fritz <nathan@andyet.net>2010-03-26 14:02:10 -0700
commitbf5dc0f7b89dfd59f062b799cd830366003558c2 (patch)
tree8131c6e8f9636c3b3dce9d31de2f4693e2858388 /sleekxmpp/__init__.py
parentec97c351deb6dd498cb0ae2cb5794ecb84f2bcb0 (diff)
downloadslixmpp-bf5dc0f7b89dfd59f062b799cd830366003558c2.tar.gz
slixmpp-bf5dc0f7b89dfd59f062b799cd830366003558c2.tar.bz2
slixmpp-bf5dc0f7b89dfd59f062b799cd830366003558c2.tar.xz
slixmpp-bf5dc0f7b89dfd59f062b799cd830366003558c2.zip
closed bug #8 -- double auth response
Diffstat (limited to 'sleekxmpp/__init__.py')
-rw-r--r--sleekxmpp/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/__init__.py b/sleekxmpp/__init__.py
index 8452e65d..cda228b1 100644
--- a/sleekxmpp/__init__.py
+++ b/sleekxmpp/__init__.py
@@ -80,7 +80,7 @@ class ClientXMPP(basexmpp, XMLStream):
self.sessionstarted = False
self.registerHandler(Callback('Stream Features', MatchXPath('{http://etherx.jabber.org/streams}features'), self._handleStreamFeatures, thread=True))
self.registerHandler(Callback('Roster Update', MatchXPath('{%s}iq/{jabber:iq:roster}query' % self.default_ns), self._handleRoster, thread=True))
- self.registerHandler(Callback('Roster Update', MatchXMLMask("<presence xmlns='%s' type='subscribe' />" % self.default_ns), self._handlePresenceSubscribe, thread=True))
+ #self.registerHandler(Callback('Roster Update', MatchXMLMask("<presence xmlns='%s' type='subscribe' />" % self.default_ns), self._handlePresenceSubscribe, thread=True))
self.registerFeature("<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls' />", self.handler_starttls, True)
self.registerFeature("<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl' />", self.handler_sasl_auth, True)
self.registerFeature("<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind' />", self.handler_bind_resource)