mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fix Node set to None error.
This commit is contained in:
parent
ea48bb5ac5
commit
7ba6d5e02d
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ class ClientXMPP(BaseXMPP):
|
||||||
self.set_jid(response.xml.find('{%s}bind/{%s}jid' % (bind_ns,
|
self.set_jid(response.xml.find('{%s}bind/{%s}jid' % (bind_ns,
|
||||||
bind_ns)).text)
|
bind_ns)).text)
|
||||||
self.bound = True
|
self.bound = True
|
||||||
log.info("Node set to: %s" % self.boundjid.fulljid)
|
log.info("Node set to: %s" % self.boundjid.full)
|
||||||
session_ns = 'urn:ietf:params:xml:ns:xmpp-session'
|
session_ns = 'urn:ietf:params:xml:ns:xmpp-session'
|
||||||
if "{%s}session" % session_ns not in self.features or self.bindfail:
|
if "{%s}session" % session_ns not in self.features or self.bindfail:
|
||||||
log.debug("Established Session")
|
log.debug("Established Session")
|
||||||
|
|
Loading…
Reference in a new issue