Comparison

plugins/muc/occupant.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 7086:6cc7c9da29ed
comparison
equal deleted inserted replaced
12976:a187600ec7d6 12977:74b9e05af71e
1 local pairs = pairs; 1 local pairs = pairs;
2 local setmetatable = setmetatable; 2 local setmetatable = setmetatable;
3 local st = require "util.stanza"; 3 local st = require "prosody.util.stanza";
4 local util = module:require "muc/util"; 4 local util = module:require "muc/util";
5 5
6 local function get_filtered_presence(stanza) 6 local function get_filtered_presence(stanza)
7 return util.filter_muc_x(st.clone(stanza)); 7 return util.filter_muc_x(st.clone(stanza));
8 end 8 end