comparison plugins/muc/mod_muc.lua @ 14048:f5d415d54064

Merge 13.0->trunk
author Matthew Wild <mwild1@gmail.com>
date Tue, 20 Jan 2026 11:13:31 +0000
parents 356c8ec22e9a ce8ed69c4962
children
comparison
equal deleted inserted replaced
14045:76dba6ddf502 14048:f5d415d54064
3 -- Copyright (C) 2008-2010 Waqas Hussain 3 -- Copyright (C) 2008-2010 Waqas Hussain
4 -- 4 --
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 --% inherit_modules: mam
8 9
9 -- Exposed functions: 10 -- Exposed functions:
10 -- 11 --
11 -- create_room(jid) -> room 12 -- create_room(jid) -> room
12 -- track_room(room) 13 -- track_room(room)
15 -- get_room_from_jid(jid) -> room 16 -- get_room_from_jid(jid) -> room
16 -- each_room(live_only) -> () -> room [DEPRECATED] 17 -- each_room(live_only) -> () -> room [DEPRECATED]
17 -- all_rooms() -> room 18 -- all_rooms() -> room
18 -- live_rooms() -> room 19 -- live_rooms() -> room
19 -- shutdown_component() 20 -- shutdown_component()
21
20 22
21 if module:get_host_type() ~= "component" then 23 if module:get_host_type() ~= "component" then
22 error("MUC should be loaded as a component, please see https://prosody.im/doc/components", 0); 24 error("MUC should be loaded as a component, please see https://prosody.im/doc/components", 0);
23 end 25 end
24 26