mod_pubsub_text_interface: Fix move quick response tags out of <body>
Seems there's an API change between 0.11.x and trunk changing the
behavior of :body(), so previously it worked in trunk but broke in 0.11
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Thu Aug 12 11:05:43 2021 +0200
+++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Fri Aug 13 00:57:33 2021 +0200
@@ -33,7 +33,7 @@
command = (command or body):lower();
if command == "help" then
- reply:body(help);
+ reply:body(help):up();
reply:tag("response", { xmlns = xmlns_quick_resp, value = "list", }):up();
reply:tag("response", { xmlns = xmlns_quick_resp, value = "subscriptions", }):up();
elseif command == "list" then