From 8ef7188dae21f9ddde40365cdff8e046d7b4678a Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 6 Jan 2012 23:30:14 -0500 Subject: Fix client_roster when the bare JID changes after binding. Adds session_bind event. --- sleekxmpp/features/feature_bind/bind.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sleekxmpp/features/feature_bind/bind.py') 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') -- cgit v1.2.3