Lines 384-390
Link Here
|
384 |
self.set_jid(response.xml.find('{%s}bind/{%s}jid' % (bind_ns, |
384 |
self.set_jid(response.xml.find('{%s}bind/{%s}jid' % (bind_ns, |
385 |
bind_ns)).text) |
385 |
bind_ns)).text) |
386 |
self.bound = True |
386 |
self.bound = True |
387 |
log.info("Node set to: %s" % self.boundjid.fulljid) |
387 |
log.info("Node set to: %s" % self.boundjid.full) |
388 |
session_ns = 'urn:ietf:params:xml:ns:xmpp-session' |
388 |
session_ns = 'urn:ietf:params:xml:ns:xmpp-session' |
389 |
if "{%s}session" % session_ns not in self.features or self.bindfail: |
389 |
if "{%s}session" % session_ns not in self.features or self.bindfail: |
390 |
log.debug("Established Session") |
390 |
log.debug("Established Session") |