summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/plugins/xep_0186/invisible_command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0186/invisible_command.py b/slixmpp/plugins/xep_0186/invisible_command.py
index c20a3a06..88266f6e 100644
--- a/slixmpp/plugins/xep_0186/invisible_command.py
+++ b/slixmpp/plugins/xep_0186/invisible_command.py
@@ -33,7 +33,7 @@ class XEP_0186(BasePlugin):
iq['type'] = 'set'
iq['from'] = ifrom
iq.enable('invisible')
- iq.send(callback=callback, timeout=timeout)
+ return iq.send(callback=callback, timeout=timeout)
def set_visible(self, ifrom=None, callback=None,
timeout=None):
@@ -41,4 +41,4 @@ class XEP_0186(BasePlugin):
iq['type'] = 'set'
iq['from'] = ifrom
iq.enable('visible')
- iq.send(callback=callback, timeout=timeout)
+ return iq.send(callback=callback, timeout=timeout)