summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0107/user_mood.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0107/user_mood.py')
-rw-r--r--sleekxmpp/plugins/xep_0107/user_mood.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0107/user_mood.py b/sleekxmpp/plugins/xep_0107/user_mood.py
index 534b10a6..37749b4b 100644
--- a/sleekxmpp/plugins/xep_0107/user_mood.py
+++ b/sleekxmpp/plugins/xep_0107/user_mood.py
@@ -63,7 +63,7 @@ class xep_0107(base_plugin):
mood = UserMood()
mood['value'] = value
mood['text'] = text
- self.xmpp['xep_0163'].publish(mood,
+ return self.xmpp['xep_0163'].publish(mood,
node=UserMood.namespace,
options=options,
ifrom=ifrom,
@@ -86,7 +86,7 @@ class xep_0107(base_plugin):
be executed when a reply stanza is received.
"""
mood = UserMood()
- self.xmpp['xep_0163'].publish(mood,
+ return self.xmpp['xep_0163'].publish(mood,
node=UserMood.namespace,
ifrom=ifrom,
block=block,