mod_cloud_notify_encrypted: Add runtime dependency on mod_cloud_notify
authorMatthew Wild <mwild1@gmail.com>
Wed, 19 Jun 2024 16:54:52 +0100
changeset 5928 2b80188448d1
parent 5927 87441b567277
child 5929 32d1abb89dfe
mod_cloud_notify_encrypted: Add runtime dependency on mod_cloud_notify
mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua
--- a/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua	Wed Jun 19 13:53:12 2024 +0100
+++ b/mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua	Wed Jun 19 16:54:52 2024 +0100
@@ -144,5 +144,6 @@
 	module:log("debug", "Encrypted '%s' push notification using %s", push_payload.type, encryption.algorithm);
 end
 
+module:depends("cloud_notify");
 module:hook("cloud_notify/registration", handle_register);
 module:hook("cloud_notify/push", handle_push, 1);