Fix client_roster when the bare JID changes after binding.
Adds session_bind event.
This commit is contained in:
@@ -52,6 +52,7 @@ class feature_bind(base_plugin):
|
||||
|
||||
self.xmpp.set_jid(response['bind']['jid'])
|
||||
self.xmpp.bound = True
|
||||
self.xmpp.event('session_bind', self.xmpp.boundjid, direct=True)
|
||||
|
||||
self.xmpp.features.add('bind')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user