Software /
code /
prosody
Comparison
teal-src/plugins/muc/muc.lib.d.tl @ 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 |
parent | 12892:d788714fcf21 |
comparison
equal
deleted
inserted
replaced
12892:d788714fcf21 | 12893:d7046ffc59f3 |
---|---|
22 bare_jid : string | 22 bare_jid : string |
23 nick : string | 23 nick : string |
24 sessions : { string : Stanza } | 24 sessions : { string : Stanza } |
25 role : Role | 25 role : Role |
26 jid : string | 26 jid : string |
27 | |
28 choose_new_primary : function (Occupant) : string | |
29 set_session : function (Occupant, string, Stanza, boolean) | |
30 remove_session : function (Occupant, string) | |
31 each_session : function (Occupant) -- TODO Iterator | |
32 | |
27 end | 33 end |
28 | 34 |
29 -- Private properties | 35 -- Private properties |
30 _jid_nick : { string : string } | 36 _jid_nick : { string : string } |
31 _occupants : { string : Occupant } | 37 _occupants : { string : Occupant } |