# HG changeset patch # User Matthew Wild # Date 1664002855 -3600 # Node ID 3b609eaf0db5540f3aba117bb890239adfa2b3a1 # Parent 62480053c87bafddf74f9e8218f50b1fc367f8dc mod_cloud_notify_encrypted: Add debug logging when successfully encrypted diff -r 62480053c87b -r 3b609eaf0db5 mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua --- 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);