Software /
code /
prosody-modules
Changeset
5055:3b609eaf0db5
mod_cloud_notify_encrypted: Add debug logging when successfully encrypted
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 24 Sep 2022 08:00:55 +0100 |
parents | 5054:62480053c87b |
children | 5056:2583bd7eb5d1 |
files | mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua Fri Sep 23 22:41:15 2022 +0100 +++ b/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua Sat Sep 24 08:00:55 2022 +0100 @@ -140,6 +140,8 @@ event.notification_payload :remove_children("x", "jabber:x:data") :add_child(encrypted_element); + + module:log("debug", "Encrypted '%s' push notification using %s", push_payload.type, encryption.algorithm); end module:hook("cloud_notify/registration", handle_register);