Software /
code /
prosody
Comparison
plugins/mod_mam/mod_mam.lua @ 7837:a17bddf62a28
util.rsm: Move out from mod_mam directory
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 26 Nov 2016 21:50:06 +0100 |
parent | 7836:30fac9154fd4 |
child | 7838:e5d5e5946af5 |
comparison
equal
deleted
inserted
replaced
7836:30fac9154fd4 | 7837:a17bddf62a28 |
---|---|
7 local xmlns_delay = "urn:xmpp:delay"; | 7 local xmlns_delay = "urn:xmpp:delay"; |
8 local xmlns_forward = "urn:xmpp:forward:0"; | 8 local xmlns_forward = "urn:xmpp:forward:0"; |
9 | 9 |
10 local um = require "core.usermanager"; | 10 local um = require "core.usermanager"; |
11 local st = require "util.stanza"; | 11 local st = require "util.stanza"; |
12 local rsm = module:require "rsm"; | 12 local rsm = require "rsm"; |
13 local get_prefs = module:require"mamprefs".get; | 13 local get_prefs = module:require"mamprefs".get; |
14 local set_prefs = module:require"mamprefs".set; | 14 local set_prefs = module:require"mamprefs".set; |
15 local prefs_to_stanza = module:require"mamprefsxml".tostanza; | 15 local prefs_to_stanza = module:require"mamprefsxml".tostanza; |
16 local prefs_from_stanza = module:require"mamprefsxml".fromstanza; | 16 local prefs_from_stanza = module:require"mamprefsxml".fromstanza; |
17 local jid_bare = require "util.jid".bare; | 17 local jid_bare = require "util.jid".bare; |