diff options
author | mathieui <mathieui@mathieui.net> | 2015-02-12 12:21:20 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-02-12 12:21:20 +0100 |
commit | 4d063e287e1bb2010d115325a3c8c6ca7c542bfc (patch) | |
tree | a8893d89d44d92e25a078a1d481152cf319b3b14 /slixmpp/plugins/xep_0258/security_labels.py | |
parent | 44f02fb3ab286e80d7f82031f751b3650cb94f8b (diff) | |
download | slixmpp-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_0258/security_labels.py')
-rw-r--r-- | slixmpp/plugins/xep_0258/security_labels.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0258/security_labels.py b/slixmpp/plugins/xep_0258/security_labels.py index 07783b47..2fb048c7 100644 --- a/slixmpp/plugins/xep_0258/security_labels.py +++ b/slixmpp/plugins/xep_0258/security_labels.py @@ -34,11 +34,11 @@ class XEP_0258(BasePlugin): def session_bind(self, jid): self.xmpp['xep_0030'].add_feature(SecurityLabel.namespace) - def get_catalog(self, jid, ifrom=None, block=True, + def get_catalog(self, jid, ifrom=None, callback=None, timeout=None): iq = self.xmpp.Iq() iq['to'] = jid iq['from'] = ifrom iq['type'] = 'get' iq.enable('security_label_catalog') - return iq.send(block=block, callback=callback, timeout=timeout) + return iq.send(callback=callback, timeout=timeout) |