Ensure that result stanzas are returned, as expected.

This commit is contained in:
Lance Stout
2012-03-11 16:13:19 -07:00
parent f759b0ada1
commit 5f4b528e6b
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -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,