From 74117453b5c3c2be51206a2b34a3ea2e1818f9d4 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 23 Jul 2014 17:01:17 +0200 Subject: Cleanup how events are run, they are always direct by definition now --- slixmpp/features/feature_bind/bind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slixmpp/features/feature_bind') diff --git a/slixmpp/features/feature_bind/bind.py b/slixmpp/features/feature_bind/bind.py index e26c3ce6..d41bbc3f 100644 --- a/slixmpp/features/feature_bind/bind.py +++ b/slixmpp/features/feature_bind/bind.py @@ -54,7 +54,7 @@ class FeatureBind(BasePlugin): def _on_bind_response(self, response): self.xmpp.boundjid = JID(response['bind']['jid'], cache_lock=True) self.xmpp.bound = True - self.xmpp.event('session_bind', self.xmpp.boundjid, direct=True) + self.xmpp.event('session_bind', self.xmpp.boundjid) self.xmpp.session_bind_event.set() self.xmpp.features.add('bind') -- cgit v1.2.3