Software / code / prosody-modules
Diff
mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua @ 5952:2b80188448d1
mod_cloud_notify_encrypted: Add runtime dependency on mod_cloud_notify
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 19 Jun 2024 16:54:52 +0100 |
| parent | 5055:3b609eaf0db5 |
| child | 6220:c83bfcc6ac0a |
line wrap: on
line diff
--- 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);