Software /
code /
prosody
Comparison
plugins/mod_pep.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 |
parent | 12962:1b179d14a1dd |
child | 13213:50324f66ca2a |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
1 local pubsub = require "util.pubsub"; | 1 local pubsub = require "prosody.util.pubsub"; |
2 local jid_bare = require "util.jid".bare; | 2 local jid_bare = require "prosody.util.jid".bare; |
3 local jid_split = require "util.jid".split; | 3 local jid_split = require "prosody.util.jid".split; |
4 local jid_join = require "util.jid".join; | 4 local jid_join = require "prosody.util.jid".join; |
5 local set_new = require "util.set".new; | 5 local set_new = require "prosody.util.set".new; |
6 local st = require "util.stanza"; | 6 local st = require "prosody.util.stanza"; |
7 local calculate_hash = require "util.caps".calculate_hash; | 7 local calculate_hash = require "prosody.util.caps".calculate_hash; |
8 local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed; | 8 local is_contact_subscribed = require "prosody.core.rostermanager".is_contact_subscribed; |
9 local cache = require "util.cache"; | 9 local cache = require "prosody.util.cache"; |
10 local set = require "util.set"; | 10 local set = require "prosody.util.set"; |
11 local new_id = require "util.id".medium; | 11 local new_id = require "prosody.util.id".medium; |
12 local storagemanager = require "core.storagemanager"; | 12 local storagemanager = require "prosody.core.storagemanager"; |
13 local usermanager = require "core.usermanager"; | 13 local usermanager = require "prosody.core.usermanager"; |
14 | 14 |
15 local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; | 15 local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; |
16 local xmlns_pubsub_event = "http://jabber.org/protocol/pubsub#event"; | 16 local xmlns_pubsub_event = "http://jabber.org/protocol/pubsub#event"; |
17 local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner"; | 17 local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner"; |
18 | 18 |