diff options
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0080/geoloc.py | 4 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0107/user_mood.py | 4 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0108/user_activity.py | 4 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0118/user_tune.py | 4 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0163.py | 2 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0172/user_nick.py | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/sleekxmpp/plugins/xep_0080/geoloc.py b/sleekxmpp/plugins/xep_0080/geoloc.py index 735f6ac0..99e07951 100644 --- a/sleekxmpp/plugins/xep_0080/geoloc.py +++ b/sleekxmpp/plugins/xep_0080/geoloc.py @@ -103,7 +103,7 @@ class xep_0080(base_plugin): geoloc = Geoloc() geoloc.values = kwargs - self.xmpp['xep_0163'].publish(geoloc, + return self.xmpp['xep_0163'].publish(geoloc, node=Geoloc.namespace, options=options, ifrom=ifrom, @@ -126,7 +126,7 @@ class xep_0080(base_plugin): be executed when a reply stanza is received. """ geoloc = Geoloc() - self.xmpp['xep_0163'].publish(geoloc, + return self.xmpp['xep_0163'].publish(geoloc, node=Geoloc.namespace, ifrom=ifrom, block=block, 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, diff --git a/sleekxmpp/plugins/xep_0108/user_activity.py b/sleekxmpp/plugins/xep_0108/user_activity.py index 7f5f0ace..3e400af2 100644 --- a/sleekxmpp/plugins/xep_0108/user_activity.py +++ b/sleekxmpp/plugins/xep_0108/user_activity.py @@ -63,7 +63,7 @@ class xep_0108(base_plugin): activity = UserActivity() activity['value'] = (general, specific) activity['text'] = text - self.xmpp['xep_0163'].publish(activity, + return self.xmpp['xep_0163'].publish(activity, node=UserActivity.namespace, options=options, ifrom=ifrom, @@ -86,7 +86,7 @@ class xep_0108(base_plugin): be executed when a reply stanza is received. """ activity = UserActivity() - self.xmpp['xep_0163'].publish(activity, + return self.xmpp['xep_0163'].publish(activity, node=UserActivity.namespace, ifrom=ifrom, block=block, 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, diff --git a/sleekxmpp/plugins/xep_0163.py b/sleekxmpp/plugins/xep_0163.py index e66b38fd..af07cd70 100644 --- a/sleekxmpp/plugins/xep_0163.py +++ b/sleekxmpp/plugins/xep_0163.py @@ -88,7 +88,7 @@ class xep_0163(base_plugin): if node is None: node = stanza.namespace - self.xmpp['xep_0060'].publish(ifrom, node, + return self.xmpp['xep_0060'].publish(ifrom, node, payload=stanza.xml, options=options, ifrom=ifrom, diff --git a/sleekxmpp/plugins/xep_0172/user_nick.py b/sleekxmpp/plugins/xep_0172/user_nick.py index 64458f1a..cd3c22f3 100644 --- a/sleekxmpp/plugins/xep_0172/user_nick.py +++ b/sleekxmpp/plugins/xep_0172/user_nick.py @@ -62,7 +62,7 @@ class xep_0172(base_plugin): """ nickname = UserNick() nickname['nick'] = nick - self.xmpp['xep_0163'].publish(nickname, + return self.xmpp['xep_0163'].publish(nickname, node=UserNick.namespace, options=options, ifrom=ifrom, @@ -85,7 +85,7 @@ class xep_0172(base_plugin): be executed when a reply stanza is received. """ nick = UserNick() - self.xmpp['xep_0163'].publish(nick, + return self.xmpp['xep_0163'].publish(nick, node=UserNick.namespace, ifrom=ifrom, block=block, |