Comparison

plugins/mod_vcard_legacy.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 11944:8b5e646dfaa6
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
1 local st = require "util.stanza"; 1 local st = require "prosody.util.stanza";
2 local jid_split = require "util.jid".split; 2 local jid_split = require "prosody.util.jid".split;
3 3
4 local mod_pep = module:depends("pep"); 4 local mod_pep = module:depends("pep");
5 5
6 local sha1 = require "util.hashes".sha1; 6 local sha1 = require "prosody.util.hashes".sha1;
7 local base64_decode = require "util.encodings".base64.decode; 7 local base64_decode = require "prosody.util.encodings".base64.decode;
8 8
9 local vcards = module:open_store("vcard"); 9 local vcards = module:open_store("vcard");
10 10
11 module:add_feature("vcard-temp"); 11 module:add_feature("vcard-temp");
12 module:hook("account-disco-info", function (event) 12 module:hook("account-disco-info", function (event)