Mercurial > prosody-hg
annotate teal-src/util/struct.d.tl @ 12732:f731eda8a873
Backed out changeset 73a45ba6e3f1 in favour of 427dd01f0864
New behaviour (muc_room_allow_persistent = true, the default):
- Parent host users are not restricted by default (prosody:user)
- Users without roles (by default that is non-admins, non-parent-host users,
and users on other servers) can no longer configure persistence by default.
muc_room_allow_persistent = false will restrict persistence to prosody:admin.
Parent-host users should not be restricted by default, and this can be
configured via the new roles/permissions options.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 29 Sep 2022 12:43:09 +0100 |
| parents | d593cb709525 |
| children |
| rev | line source |
|---|---|
|
12619
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
|
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 pack : function (string, ...:any) : string |
|
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 unpack : function(string, string, integer) : any... |
|
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 size : function(string) : integer |
|
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 end |
|
d593cb709525
util.struct: Add Teal interface description file
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 return lib |
