diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-11 16:13:19 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-11 16:13:19 -0700 |
commit | 5f4b528e6bdc238988b02b9a7d4ef55077773e76 (patch) | |
tree | e04edf2275485cdbf53ac520b673abbc971b59b2 /sleekxmpp/plugins/xep_0080/geoloc.py | |
parent | f759b0ada1e33e2ebde5229f9bf98a6783652ee8 (diff) | |
download | slixmpp-5f4b528e6bdc238988b02b9a7d4ef55077773e76.tar.gz slixmpp-5f4b528e6bdc238988b02b9a7d4ef55077773e76.tar.bz2 slixmpp-5f4b528e6bdc238988b02b9a7d4ef55077773e76.tar.xz slixmpp-5f4b528e6bdc238988b02b9a7d4ef55077773e76.zip |
Ensure that result stanzas are returned, as expected.
Diffstat (limited to 'sleekxmpp/plugins/xep_0080/geoloc.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0080/geoloc.py | 4 |
1 files changed, 2 insertions, 2 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, |