summaryrefslogtreecommitdiff
path: root/examples/http_over_xmpp.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-14 01:04:38 +0100
committermathieui <mathieui@mathieui.net>2017-02-14 01:04:38 +0100
commitcabf6231316ba97aab0957eac92a32716277ebfc (patch)
treedc3b2e9ef6fb9927d93239140b88bd88892b0985 /examples/http_over_xmpp.py
parentffc240d5b6ba62b29e670483c73b110b3edfefe4 (diff)
downloadslixmpp-cabf6231316ba97aab0957eac92a32716277ebfc.tar.gz
slixmpp-cabf6231316ba97aab0957eac92a32716277ebfc.tar.bz2
slixmpp-cabf6231316ba97aab0957eac92a32716277ebfc.tar.xz
slixmpp-cabf6231316ba97aab0957eac92a32716277ebfc.zip
Fix the http over xmpp example
Diffstat (limited to 'examples/http_over_xmpp.py')
-rw-r--r--examples/http_over_xmpp.py2
1 files changed, 1 insertions, 1 deletions
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)