Add session_bind_event threading event.

This commit is contained in:
Lance Stout
2012-07-10 01:35:57 -07:00
parent 46f49c7a12
commit a347cf625a
3 changed files with 9 additions and 1 deletions

View File

@@ -50,7 +50,8 @@ class FeatureBind(BasePlugin):
self.xmpp.set_jid(response['bind']['jid'])
self.xmpp.bound = True
self.xmpp.event('session_bind', self.xmpp.boundjid, direct=True)
self.xmpp.event('session_bind', self.xmpp.boundjid.full, direct=True)
self.xmpp.session_bind_event.set()
self.xmpp.features.add('bind')