MUC: Add Occupant API methods to Teal spec
authorKim Alvefur <zash@zash.se>
Mon, 20 Feb 2023 18:16:12 +0100
changeset 12897 d7046ffc59f3
parent 12896 d788714fcf21
child 12899 4968dce04f4b
MUC: Add Occupant API methods to Teal spec
teal-src/plugins/muc/muc.lib.d.tl
--- a/teal-src/plugins/muc/muc.lib.d.tl	Mon Feb 20 15:11:29 2023 +0100
+++ b/teal-src/plugins/muc/muc.lib.d.tl	Mon Feb 20 18:16:12 2023 +0100
@@ -24,6 +24,12 @@
 		sessions : { string : Stanza }
 		role : Role
 		jid : string
+
+		choose_new_primary : function (Occupant) : string
+		set_session : function (Occupant, string, Stanza, boolean)
+		remove_session : function (Occupant, string)
+		each_session : function (Occupant) -- TODO Iterator
+
 	end
 
 	-- Private properties