comparison mod_csi_muc_priorities/mod_csi_muc_priorities.lua @ 3628:2444fb3b05b7

mod_csi_muc_priorities: Signal unimportance (thanks tmolitor) The short version of this module would be `return priorities[room]`, but the `false` case got lost somewhere along the way.
author Kim Alvefur <zash@zash.se>
date Thu, 04 Jul 2019 08:46:26 +0200
parents 013ef96a6d4d
children d77a61d81555
comparison
equal deleted inserted replaced
3627:9639c493f4b9 3628:2444fb3b05b7
33 end 33 end
34 elseif session.directed and session.directed[stanza.attr.from] then 34 elseif session.directed and session.directed[stanza.attr.from] then
35 -- fallback if no mod_track_muc_joins 35 -- fallback if no mod_track_muc_joins
36 return true; 36 return true;
37 end 37 end
38
39 -- Unimportant and no mention
40 return false;
38 end 41 end
39 end 42 end
40 end); 43 end);
41 44
42 module:depends("adhoc"); 45 module:depends("adhoc");