Fix client_roster when the bare JID changes after binding.

Adds session_bind event.
This commit is contained in:
Lance Stout
2012-01-06 23:30:14 -05:00
parent 8fd2efa2fa
commit 8ef7188dae
2 changed files with 10 additions and 0 deletions

View File

@@ -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')