fixed resource binding element to conform to spec
This commit is contained in:
parent
9fcd2e93a3
commit
ca2c421e6c
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue