Software /
code /
verse
Diff
plugins/archive.lua @ 490:6b2f31da9610
Update for new Prosody module namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 May 2023 20:48:03 +0200 |
parent | 462:51c3da615ff4 |
line wrap: on
line diff
--- a/plugins/archive.lua Tue May 23 19:46:52 2023 +0200 +++ b/plugins/archive.lua Sat May 20 20:48:03 2023 +0200 @@ -3,15 +3,15 @@ -- (ie not XEP-0136) local verse = require "verse"; -local st = require "util.stanza"; +local st = require "prosody.util.stanza"; local xmlns_mam = "urn:xmpp:mam:2" local xmlns_forward = "urn:xmpp:forward:0"; local xmlns_delay = "urn:xmpp:delay"; -local new_id = require "util.id".short; -local parse_datetime = require "util.datetime".parse; -local datetime = require "util.datetime".datetime; -local dataform = require"util.dataforms".new; -local rsm = require "util.rsm"; +local new_id = require "prosody.util.id".short; +local parse_datetime = require "prosody.util.datetime".parse; +local datetime = require "prosody.util.datetime".datetime; +local dataform = require"prosody.util.dataforms".new; +local rsm = require "prosody.util.rsm"; local NULL = {}; local query_form = dataform {