mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua
changeset 5059 3b609eaf0db5
parent 5058 62480053c87b
--- 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);