summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0030.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0030.py b/sleekxmpp/plugins/xep_0030.py
index 9fcc8b17..73f4636f 100644
--- a/sleekxmpp/plugins/xep_0030.py
+++ b/sleekxmpp/plugins/xep_0030.py
@@ -299,7 +299,7 @@ class xep_0030(base.base_plugin):
iq['to'] = jid
iq['from'] = dfrom
iq['disco_info']['node'] = node
- iq.send()
+ return iq.send()
def getItems(self, jid, node='', dfrom=None):
iq = self.xmpp.Iq()
@@ -307,7 +307,7 @@ class xep_0030(base.base_plugin):
iq['to'] = jid
iq['from'] = dfrom
iq['disco_items']['node'] = node
- iq.send()
+ return iq.send()
def add_feature(self, feature, node='main'):
self.add_node(node)