mirror of
https://github.com/correl/SleekXMPP.git
synced 2025-03-07 12:53:24 -10:00
woops, broke resource binding request
This commit is contained in:
parent
a909731b03
commit
083ac3faaf
1 changed files with 2 additions and 2 deletions
|
@ -271,8 +271,8 @@ class ClientXMPP(basexmpp, XMLStream):
|
|||
logging.debug("Requesting resource: %s" % self.resource)
|
||||
res = ET.Element('resource')
|
||||
res.text = self.resource
|
||||
iq = self.makeIqSet(res)
|
||||
iq.append(xml)
|
||||
xml.append(res)
|
||||
iq = self.makeIqSet(xml)
|
||||
response = iq.send(priority=2,init=True)
|
||||
#response = self.send(iq, self.Iq(sid=iq['id']))
|
||||
self.set_jid(response.xml.find('{urn:ietf:params:xml:ns:xmpp-bind}bind/{urn:ietf:params:xml:ns:xmpp-bind}jid').text)
|
||||
|
|
Loading…
Add table
Reference in a new issue