From bac012d67553b5baa529404d0b148cfd43a22372 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 20 Feb 2023 15:11:29 +0100 Subject: MUC: Add Teal description of muc.lib functions --- teal-src/plugins/muc/muc.lib.d.tl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/teal-src/plugins/muc/muc.lib.d.tl b/teal-src/plugins/muc/muc.lib.d.tl index 64f8004a..b790153b 100644 --- a/teal-src/plugins/muc/muc.lib.d.tl +++ b/teal-src/plugins/muc/muc.lib.d.tl @@ -161,3 +161,12 @@ local record Room save : function (Room, forced : boolean, savestate : boolean) : boolean freeze : function (Room, live : boolean) : FrozenRoom, { string : StateEntry } end + +local record lib + new_room : function (jid : string, config : { string : any }) : Room + restore_room : function (Room.FrozenRoom, { string : Room.StateEntry }) : Room + + room_mt : metatable +end + +return lib -- cgit v1.2.3