diff options
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r-- | plugins/mod_pubsub.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index 90c19815..80300df2 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -74,7 +74,8 @@ function handlers.get_subscriptions(origin, stanza, subscriptions) return origin.send(pubsub_error_reply(stanza, ret)); end local reply = st.reply(stanza) - :tag("subscriptions", { xmlns = xmlns_pubsub }); + :tag("pubsub", { xmlns = xmlns_pubsub }) + :tag("subscriptions"); for _, sub in ipairs(ret) do reply:tag("subscription", { node = sub.node, jid = sub.jid, subscription = 'subscribed' }):up(); end |