Changeset

12893:d7046ffc59f3

MUC: Add Occupant API methods to Teal spec
author Kim Alvefur <zash@zash.se>
date Mon, 20 Feb 2023 18:16:12 +0100
parents 12892:d788714fcf21
children 12895:4968dce04f4b
files teal-src/plugins/muc/muc.lib.d.tl
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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