diff options
author | Lance Stout <lancestout@gmail.com> | 2012-01-06 23:30:14 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-01-06 23:30:14 -0500 |
commit | 8ef7188dae21f9ddde40365cdff8e046d7b4678a (patch) | |
tree | 742d97c0dd46c2bf38e10d3f9dc12d66c3dcad76 /sleekxmpp/features | |
parent | 8fd2efa2fa50751af7b5182ad7793295c540d294 (diff) | |
download | slixmpp-8ef7188dae21f9ddde40365cdff8e046d7b4678a.tar.gz slixmpp-8ef7188dae21f9ddde40365cdff8e046d7b4678a.tar.bz2 slixmpp-8ef7188dae21f9ddde40365cdff8e046d7b4678a.tar.xz slixmpp-8ef7188dae21f9ddde40365cdff8e046d7b4678a.zip |
Fix client_roster when the bare JID changes after binding.
Adds session_bind event.
Diffstat (limited to 'sleekxmpp/features')
-rw-r--r-- | sleekxmpp/features/feature_bind/bind.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/features/feature_bind/bind.py b/sleekxmpp/features/feature_bind/bind.py index d3b2b737..72897131 100644 --- a/sleekxmpp/features/feature_bind/bind.py +++ b/sleekxmpp/features/feature_bind/bind.py @@ -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') |