Mercurial > prosody-modules
changeset 5924: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 |
parents | 87441b567277 |
children | 32d1abb89dfe |
files | mod_cloud_notify_encrypted/mod_cloud_notify_encrypted.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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);