comparison plugins/mod_pep_simple.lua @ 12977:74b9e05af71e

plugins: Prefix module imports with prosody namespace
author Kim Alvefur <zash@zash.se>
date Fri, 24 Mar 2023 13:15:28 +0100
parents 39ae08180c81
children
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 9
10 local jid_bare = require "util.jid".bare; 10 local jid_bare = require "prosody.util.jid".bare;
11 local jid_split = require "util.jid".split; 11 local jid_split = require "prosody.util.jid".split;
12 local st = require "util.stanza"; 12 local st = require "prosody.util.stanza";
13 local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed; 13 local is_contact_subscribed = require "prosody.core.rostermanager".is_contact_subscribed;
14 local pairs = pairs; 14 local pairs = pairs;
15 local next = next; 15 local next = next;
16 local type = type; 16 local type = type;
17 local unpack = table.unpack; 17 local unpack = table.unpack;
18 local calculate_hash = require "util.caps".calculate_hash; 18 local calculate_hash = require "prosody.util.caps".calculate_hash;
19 local core_post_stanza = prosody.core_post_stanza; 19 local core_post_stanza = prosody.core_post_stanza;
20 local bare_sessions = prosody.bare_sessions; 20 local bare_sessions = prosody.bare_sessions;
21 21
22 local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; 22 local xmlns_pubsub = "http://jabber.org/protocol/pubsub";
23 23