diff options
author | Lance Stout <lancestout@gmail.com> | 2012-07-10 01:35:57 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-07-10 01:35:57 -0700 |
commit | a347cf625ade5b3cdea0a37ababebe754f580276 (patch) | |
tree | 88a1fe04c72dabe59488394c2242e24003e1cc70 /sleekxmpp/features/feature_bind/bind.py | |
parent | 46f49c7a12c3e00bb6e6b38e5e3aba5394aea931 (diff) | |
download | slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.tar.gz slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.tar.bz2 slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.tar.xz slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.zip |
Add session_bind_event threading event.
Diffstat (limited to 'sleekxmpp/features/feature_bind/bind.py')
-rw-r--r-- | sleekxmpp/features/feature_bind/bind.py | 3 |
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') |