Software /
code /
prosody
Comparison
plugins/mod_mam/mamprefsxml.lib.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 | 9728:d41ce505cdf9 |
comparison
equal
deleted
inserted
replaced
12976:a187600ec7d6 | 12977:74b9e05af71e |
---|---|
8 -- COPYING file in the source package for more information. | 8 -- COPYING file in the source package for more information. |
9 -- | 9 -- |
10 -- XEP-0313: Message Archive Management for Prosody | 10 -- XEP-0313: Message Archive Management for Prosody |
11 -- | 11 -- |
12 | 12 |
13 local st = require"util.stanza"; | 13 local st = require"prosody.util.stanza"; |
14 local jid_prep = require"util.jid".prep; | 14 local jid_prep = require"prosody.util.jid".prep; |
15 local xmlns_mam = "urn:xmpp:mam:2"; | 15 local xmlns_mam = "urn:xmpp:mam:2"; |
16 | 16 |
17 local default_attrs = { | 17 local default_attrs = { |
18 always = true, [true] = "always", | 18 always = true, [true] = "always", |
19 never = false, [false] = "never", | 19 never = false, [false] = "never", |