Software /
code /
prosody
Comparison
plugins/mod_pubsub.lua @ 3933:24f0a7544a7a
mod_pubsub: Fix a missing :up() from the last commit
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2010 02:19:14 +0000 |
parent | 3932:aa245e43b21e |
child | 3935:2733b56f23b0 |
comparison
equal
deleted
inserted
replaced
3932:aa245e43b21e | 3933:24f0a7544a7a |
---|---|
230 | 230 |
231 local reply = st.reply(stanza) | 231 local reply = st.reply(stanza) |
232 :tag("query", { xmlns = xmlns_disco_items }); | 232 :tag("query", { xmlns = xmlns_disco_items }); |
233 | 233 |
234 for id, item in pairs(ret) do | 234 for id, item in pairs(ret) do |
235 reply:tag("item", { jid = module.host, name = id }); | 235 reply:tag("item", { jid = module.host, name = id }):up(); |
236 end | 236 end |
237 | 237 |
238 return origin.send(reply); | 238 return origin.send(reply); |
239 end | 239 end |
240 | 240 |