From 5a878f829b6a54c8269ebf4205fe6427e171e6f6 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 26 Jul 2012 11:50:59 -0700 Subject: [PATCH] Fix error with session binding in components. --- sleekxmpp/componentxmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index 265ecd42..44f82e96 100644 --- a/sleekxmpp/componentxmpp.py +++ b/sleekxmpp/componentxmpp.py @@ -158,7 +158,7 @@ class ComponentXMPP(BaseXMPP): """ self.session_bind_event.set() self.session_started_event.set() - self.event("session_bind", self.xmpp.boundjid, direct=True) + self.event("session_bind", self.boundjid, direct=True) self.event("session_start") def _handle_probe(self, pres):