summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0118
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0118')
-rw-r--r--sleekxmpp/plugins/xep_0118/user_tune.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0118/user_tune.py b/sleekxmpp/plugins/xep_0118/user_tune.py
index e3ffc2e4..e8b96ed9 100644
--- a/sleekxmpp/plugins/xep_0118/user_tune.py
+++ b/sleekxmpp/plugins/xep_0118/user_tune.py
@@ -69,7 +69,7 @@ class xep_0118(base_plugin):
tune['title'] = title
tune['track'] = track
tune['uri'] = uri
- self.xmpp['xep_0163'].publish(tune,
+ return self.xmpp['xep_0163'].publish(tune,
node=UserTune.namespace,
options=options,
ifrom=ifrom,
@@ -92,7 +92,7 @@ class xep_0118(base_plugin):
be executed when a reply stanza is received.
"""
tune = UserTune()
- self.xmpp['xep_0163'].publish(tune,
+ return self.xmpp['xep_0163'].publish(tune,
node=UserTune.namespace,
ifrom=ifrom,
block=block,