comparison plugins/mod_cloud_notify.lua @ 13701:1aa7efabeacb 13.0

mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Feb 2025 10:31:37 +0000
parents 2f38f3275a74
children 041c7ff18f76
comparison
equal deleted inserted replaced
13700:9b7687b47da9 13701:1aa7efabeacb
3 -- Copyright (C) 2017-2019 Thilo Molitor 3 -- Copyright (C) 2017-2019 Thilo Molitor
4 -- 4 --
5 -- This file is MIT/X11 licensed. 5 -- This file is MIT/X11 licensed.
6 6
7 local os_time = os.time; 7 local os_time = os.time;
8 local st = require"util.stanza"; 8 local st = require"prosody.util.stanza";
9 local jid = require"util.jid"; 9 local jid = require"prosody.util.jid";
10 local dataform = require"util.dataforms".new; 10 local dataform = require"prosody.util.dataforms".new;
11 local hashes = require"util.hashes"; 11 local hashes = require"prosody.util.hashes";
12 local random = require"util.random"; 12 local random = require"prosody.util.random";
13 local cache = require"util.cache"; 13 local cache = require"prosody.util.cache";
14 local watchdog = require "util.watchdog"; 14 local watchdog = require "prosody.util.watchdog";
15 15
16 local xmlns_push = "urn:xmpp:push:0"; 16 local xmlns_push = "urn:xmpp:push:0";
17 17
18 -- configuration 18 -- configuration
19 local include_body = module:get_option_boolean("push_notification_with_body", false); 19 local include_body = module:get_option_boolean("push_notification_with_body", false);