summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/feature_bind/bind.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/features/feature_bind/bind.py')
-rw-r--r--sleekxmpp/features/feature_bind/bind.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_bind/bind.py b/sleekxmpp/features/feature_bind/bind.py
index b828e26f..2253d5ae 100644
--- a/sleekxmpp/features/feature_bind/bind.py
+++ b/sleekxmpp/features/feature_bind/bind.py
@@ -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')