summaryrefslogtreecommitdiff
path: root/sleekxmpp/__init__.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-07-20 11:20:47 -0700
committerNathan Fritz <nathan@andyet.net>2010-07-20 11:20:47 -0700
commitca2c421e6c5de3dc97c8555301592d64e591db47 (patch)
tree2eb37ec95ab2969ee39167ff3d49e379e861f9c0 /sleekxmpp/__init__.py
parent9fcd2e93a360939b5a55af93239b467a7ac32028 (diff)
downloadslixmpp-ca2c421e6c5de3dc97c8555301592d64e591db47.tar.gz
slixmpp-ca2c421e6c5de3dc97c8555301592d64e591db47.tar.bz2
slixmpp-ca2c421e6c5de3dc97c8555301592d64e591db47.tar.xz
slixmpp-ca2c421e6c5de3dc97c8555301592d64e591db47.zip
fixed resource binding element to conform to spec
Diffstat (limited to 'sleekxmpp/__init__.py')
-rw-r--r--sleekxmpp/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/__init__.py b/sleekxmpp/__init__.py
index 16fd1056..a9bfc953 100644
--- a/sleekxmpp/__init__.py
+++ b/sleekxmpp/__init__.py
@@ -221,6 +221,7 @@ class ClientXMPP(basexmpp, XMLStream):
def handler_bind_resource(self, xml):
logging.debug("Requesting resource: %s" % self.resource)
+ xml.clear()
iq = self.Iq(stype='set')
if self.resource:
res = ET.Element('resource')