summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0258/security_labels.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0258/security_labels.py')
-rw-r--r--slixmpp/plugins/xep_0258/security_labels.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/slixmpp/plugins/xep_0258/security_labels.py b/slixmpp/plugins/xep_0258/security_labels.py
index 56916147..2fb048c7 100644
--- a/slixmpp/plugins/xep_0258/security_labels.py
+++ b/slixmpp/plugins/xep_0258/security_labels.py
@@ -9,7 +9,6 @@
import logging
from slixmpp import Iq, Message
-from slixmpp import coroutine_wrapper
from slixmpp.plugins import BasePlugin
from slixmpp.xmlstream import register_stanza_plugin
from slixmpp.plugins.xep_0258 import stanza, SecurityLabel, Catalog
@@ -35,12 +34,11 @@ class XEP_0258(BasePlugin):
def session_bind(self, jid):
self.xmpp['xep_0030'].add_feature(SecurityLabel.namespace)
- @coroutine_wrapper
- def get_catalog(self, jid, ifrom=None, coroutine=False,
+ 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(callback=callback, timeout=timeout, coroutine=coroutine)
+ return iq.send(callback=callback, timeout=timeout)