diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/send_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/send_client.py b/examples/send_client.py index caf47687..5b34bbc9 100755 --- a/examples/send_client.py +++ b/examples/send_client.py @@ -47,7 +47,7 @@ class SendMsgBot(sleekxmpp.ClientXMPP): # and the XML streams are ready for use. We want to # listen for this event so that we we can initialize # our roster. - self.add_event_handler("session_start", self.start) + self.add_event_handler("session_start", self.start, threaded=True) def start(self, event): """ |