Software /
code /
prosody-modules
Changeset
4645:25ce28711fac
mod_pubsub_text_interface: Move quick response out of unknown command text
Same as previous commit.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 13 Aug 2021 01:06:15 +0200 |
parents | 4644:bbf9e36db3a9 |
children | 4646:072d078be095 |
files | mod_pubsub_text_interface/mod_pubsub_text_interface.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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();