Commit 8f1c3b11 authored by Philipp Hörist's avatar Philipp Hörist

Merge branch 'master' into 'master'

Save own full jid

See merge request !4
parents 5c2c0b22 171bac23
......@@ -731,6 +731,7 @@ class NonBlockingBind(PlugIn):
self.bound.append(resp.getTag('bind').getTagData('jid'))
log.info('Successfully bound %s.' % self.bound[-1])
jid = JID(resp.getTag('bind').getTagData('jid'))
self._owner._registered_name = jid
self._owner.User = jid.getNode()
self._owner.Resource = jid.getResource()
# Only negociate stream management after bounded
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment