summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0186/invisible_command.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-02-12 12:21:20 +0100
committermathieui <mathieui@mathieui.net>2015-02-12 12:21:20 +0100
commit4d063e287e1bb2010d115325a3c8c6ca7c542bfc (patch)
treea8893d89d44d92e25a078a1d481152cf319b3b14 /slixmpp/plugins/xep_0186/invisible_command.py
parent44f02fb3ab286e80d7f82031f751b3650cb94f8b (diff)
downloadslixmpp-4d063e287e1bb2010d115325a3c8c6ca7c542bfc.tar.gz
slixmpp-4d063e287e1bb2010d115325a3c8c6ca7c542bfc.tar.bz2
slixmpp-4d063e287e1bb2010d115325a3c8c6ca7c542bfc.tar.xz
slixmpp-4d063e287e1bb2010d115325a3c8c6ca7c542bfc.zip
Remove more threaded= and block= options from the plugins
(also, correct a typo)
Diffstat (limited to 'slixmpp/plugins/xep_0186/invisible_command.py')
-rw-r--r--slixmpp/plugins/xep_0186/invisible_command.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/plugins/xep_0186/invisible_command.py b/slixmpp/plugins/xep_0186/invisible_command.py
index 1a521e78..c20a3a06 100644
--- a/slixmpp/plugins/xep_0186/invisible_command.py
+++ b/slixmpp/plugins/xep_0186/invisible_command.py
@@ -27,18 +27,18 @@ class XEP_0186(BasePlugin):
register_stanza_plugin(Iq, Visible)
register_stanza_plugin(Iq, Invisible)
- def set_invisible(self, ifrom=None, block=True, callback=None,
+ def set_invisible(self, ifrom=None, callback=None,
timeout=None):
iq = self.xmpp.Iq()
iq['type'] = 'set'
iq['from'] = ifrom
iq.enable('invisible')
- iq.send(block=block, callback=callback, timeout=timeout)
+ iq.send(callback=callback, timeout=timeout)
- def set_visible(self, ifrom=None, block=True, callback=None,
+ def set_visible(self, ifrom=None, callback=None,
timeout=None):
iq = self.xmpp.Iq()
iq['type'] = 'set'
iq['from'] = ifrom
iq.enable('visible')
- iq.send(block=block, callback=callback, timeout=timeout)
+ iq.send(callback=callback, timeout=timeout)