diff options
author | Lance Stout <lancestout@gmail.com> | 2011-10-04 10:37:42 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-10-04 10:37:42 -0400 |
commit | e33949c3977f4ee6889abae7a80e5d365ae66bda (patch) | |
tree | faca504c3aebbf945f7a57c22c72c780393af176 /sleekxmpp/plugins/xep_0009 | |
parent | eccac859adbf8c24d6af14f428f2af19ce0b609d (diff) | |
parent | 7dd586f2fd6ee65fdfccc695a53bec6e31dacfb2 (diff) | |
download | slixmpp-e33949c3977f4ee6889abae7a80e5d365ae66bda.tar.gz slixmpp-e33949c3977f4ee6889abae7a80e5d365ae66bda.tar.bz2 slixmpp-e33949c3977f4ee6889abae7a80e5d365ae66bda.tar.xz slixmpp-e33949c3977f4ee6889abae7a80e5d365ae66bda.zip |
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'sleekxmpp/plugins/xep_0009')
-rw-r--r-- | sleekxmpp/plugins/xep_0009/remote.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sleekxmpp/plugins/xep_0009/remote.py b/sleekxmpp/plugins/xep_0009/remote.py index b5d10b85..3cc0f520 100644 --- a/sleekxmpp/plugins/xep_0009/remote.py +++ b/sleekxmpp/plugins/xep_0009/remote.py @@ -699,10 +699,10 @@ class Remote(object): with Remote._lock: del cls._sessions[client.boundjid.bare] result = RemoteSession(client, _session_close_callback) - client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_method_call', result._on_jabber_rpc_method_call) - client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_method_response', result._on_jabber_rpc_method_response) - client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_method_fault', result._on_jabber_rpc_method_fault) - client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_error', result._on_jabber_rpc_error) + client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_method_call', result._on_jabber_rpc_method_call, threaded=True) + client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_method_response', result._on_jabber_rpc_method_response, threaded=True) + client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_method_fault', result._on_jabber_rpc_method_fault, threaded=True) + client.plugin['xep_0009'].xmpp.add_event_handler('jabber_rpc_error', result._on_jabber_rpc_error, threaded=True) if callback is None: start_event_handler = result._notify else: |