Mercurial > prosody-modules
changeset 6369:2b272065439c
mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua: fix last logging error that was made by trying to fix previous error.
| author | Menel <menel@snikket.de> |
|---|---|
| date | Sat, 17 Jan 2026 19:23:14 +0100 |
| parents | 981343f30e09 |
| children | f1743e2c23ba |
| files | mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Sat Jan 17 17:20:13 2026 +0100 +++ b/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Sat Jan 17 19:23:14 2026 +0100 @@ -236,7 +236,8 @@ module:log_status("warn", "Unexpected response to item publication at pubsub node '%s' on %s: %s", node, service, response.stanza) return false else - module:log_status("core", "Successfully published item on pubsub node '%s' at %s", node, service) + module:log("debug", "Successfully published item on pubsub node '%s' at %s", node, service) + module:set_status("info", "Successfully published item on pubsub node") return true end end,
