Changeset

12892:d788714fcf21

MUC: Add Teal description of muc.lib functions
author Kim Alvefur <zash@zash.se>
date Mon, 20 Feb 2023 15:11:29 +0100
parents 12891:93ce4244d433
children 12893:d7046ffc59f3
files teal-src/plugins/muc/muc.lib.d.tl
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/teal-src/plugins/muc/muc.lib.d.tl	Mon Feb 20 15:08:06 2023 +0100
+++ b/teal-src/plugins/muc/muc.lib.d.tl	Mon Feb 20 15:11:29 2023 +0100
@@ -161,3 +161,12 @@
 	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