# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1676913372 -3600
# Node ID d7046ffc59f31d47674a0b426bed06f3d4aca35e
# Parent  d788714fcf2182db62fd2782381f7ef191aafb69
MUC: Add Occupant API methods to Teal spec

diff -r d788714fcf21 -r d7046ffc59f3 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