aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-02-20 18:16:12 +0100
committerKim Alvefur <zash@zash.se>2023-02-20 18:16:12 +0100
commit6ce26b1c946a188e0c6f64f58aaddbd9b1efa172 (patch)
tree5002c43fd221f00e1299a5311ced87e250dfe300 /teal-src
parentbac012d67553b5baa529404d0b148cfd43a22372 (diff)
downloadprosody-6ce26b1c946a188e0c6f64f58aaddbd9b1efa172.tar.gz
prosody-6ce26b1c946a188e0c6f64f58aaddbd9b1efa172.zip
MUC: Add Occupant API methods to Teal spec
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/plugins/muc/muc.lib.d.tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/teal-src/plugins/muc/muc.lib.d.tl b/teal-src/plugins/muc/muc.lib.d.tl
index b790153b..1e967d7b 100644
--- a/teal-src/plugins/muc/muc.lib.d.tl
+++ b/teal-src/plugins/muc/muc.lib.d.tl
@@ -24,6 +24,12 @@ local record Room
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