summaryrefslogtreecommitdiff
path: root/sleekxmpp/componentxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-10 01:35:57 -0700
committerLance Stout <lancestout@gmail.com>2012-07-10 01:35:57 -0700
commita347cf625ade5b3cdea0a37ababebe754f580276 (patch)
tree88a1fe04c72dabe59488394c2242e24003e1cc70 /sleekxmpp/componentxmpp.py
parent46f49c7a12c3e00bb6e6b38e5e3aba5394aea931 (diff)
downloadslixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.tar.gz
slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.tar.bz2
slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.tar.xz
slixmpp-a347cf625ade5b3cdea0a37ababebe754f580276.zip
Add session_bind_event threading event.
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rw-r--r--sleekxmpp/componentxmpp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index d69d8266..20748b69 100644
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -156,7 +156,9 @@ class ComponentXMPP(BaseXMPP):
:param xml: The reply handshake stanza.
"""
+ self.session_bind_event.set()
self.session_started_event.set()
+ self.event("session_bind", self.xmpp.boundjid.full, direct=True)
self.event("session_start")
def _handle_probe(self, presence):