# HG changeset patch # User Kim Alvefur # Date 1628809575 -7200 # Node ID 25ce28711fac93fbeaa57020318dbaf557c130b2 # Parent bbf9e36db3a904a4aaa95a0875be85fd561cb86c mod_pubsub_text_interface: Move quick response out of unknown command text Same as previous commit. diff -r bbf9e36db3a9 -r 25ce28711fac mod_pubsub_text_interface/mod_pubsub_text_interface.lua --- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Fri Aug 13 00:57:33 2021 +0200 +++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua Fri Aug 13 01:06:15 2021 +0200 @@ -81,7 +81,7 @@ reply:body("OK"); end else - reply:body("Unknown command. `help` to list commands."); + reply:body("Unknown command. `help` to list commands."):up(); reply:tag("response", { xmlns = xmlns_quick_resp, value = "help", }):up(); end reply:reset();