Mercurial > prosody-modules
comparison mod_mam_archive/mod_mam_archive.lua @ 2706:3e97dae28215
mod_mam_archive: Use util.rsm (fixes #877, depends on recent 0.10+)
author | Dennis Schridde <devurandom@gmx.net> |
---|---|
date | Sat, 22 Apr 2017 11:24:18 +0200 |
parents | b51e596c5a02 |
children | 8ff308fad9fd |
comparison
equal
deleted
inserted
replaced
2700:7a5dae85f26f | 2706:3e97dae28215 |
---|---|
3 -- This project is MIT/X11 licensed. Please see the | 3 -- This project is MIT/X11 licensed. Please see the |
4 -- COPYING file in the source package for more information. | 4 -- COPYING file in the source package for more information. |
5 -- | 5 -- |
6 local get_prefs = module:require"mod_mam/mamprefs".get; | 6 local get_prefs = module:require"mod_mam/mamprefs".get; |
7 local set_prefs = module:require"mod_mam/mamprefs".set; | 7 local set_prefs = module:require"mod_mam/mamprefs".set; |
8 local rsm = module:require "mod_mam/rsm"; | 8 local rsm = require "util.rsm"; |
9 local jid_bare = require "util.jid".bare; | 9 local jid_bare = require "util.jid".bare; |
10 local jid_prep = require "util.jid".prep; | 10 local jid_prep = require "util.jid".prep; |
11 local date_parse = require "util.datetime".parse; | 11 local date_parse = require "util.datetime".parse; |
12 local date_format = require "util.datetime".datetime; | 12 local date_format = require "util.datetime".datetime; |
13 | 13 |