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

View File

@@ -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,