aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--teal-src/plugins/muc/muc.lib.d.tl9
1 files changed, 9 insertions, 0 deletions
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