From cabf6231316ba97aab0957eac92a32716277ebfc Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 14 Feb 2017 01:04:38 +0100 Subject: Fix the http over xmpp example --- examples/http_over_xmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http_over_xmpp.py b/examples/http_over_xmpp.py index 2b7f68bc..013f301b 100644 --- a/examples/http_over_xmpp.py +++ b/examples/http_over_xmpp.py @@ -23,7 +23,7 @@ class HTTPOverXMPPClient(ClientXMPP): ClientXMPP.__init__(self, jid, password) self.register_plugin('xep_0332') # HTTP over XMPP Transport self.add_event_handler( - 'session_start', self.session_start, threaded=True + 'session_start', self.session_start ) self.add_event_handler('http_request', self.http_request_received) self.add_event_handler('http_response', self.http_response_received) -- cgit v1.2.3