Software /
code /
prosody-modules
Changeset
2257:f84b51f9aa82
mod_cloud_notify: Log message when 'jid' is missing from enable request
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 28 Jul 2016 12:34:15 +0200 |
parents | 2256:c5c583fae25d |
children | 2258:3abc51faf945 |
files | mod_cloud_notify/mod_cloud_notify.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_cloud_notify/mod_cloud_notify.lua Thu Jul 28 12:14:33 2016 +0200 +++ b/mod_cloud_notify/mod_cloud_notify.lua Thu Jul 28 12:34:15 2016 +0200 @@ -33,6 +33,7 @@ -- SHOULD contain a 'node' attribute local push_node = enable.attr.node; if not push_jid then + origin.log("debug", "Push notification enable request missing the 'jid' field"); origin.send(st.error_reply(stanza, "modify", "bad-request", "Missing jid")); return true; end