Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
3 years ago
Matthew Wild
1e42cdef09
MUC: Add support for advertising muc#roomconfig_allowinvites in room disco#info
...
The de-facto interpretation of this (undocumented) option is to indicate to
the client whether it is allowed to invite other users to the MUC.
This is differs from the existing option in our config form, which only
controls the behaviour of sending of invites in a members-only MUC (we always
allow invites in open rooms).
Conversations is one client known to use this disco#info item to determine
whether it may send invites.
5 years ago
Kim Alvefur
449311b2d1
MUC: Remove <{muc}x> tags in some errors
...
Including the payload of the stanza that caused the error is optional
and we're generally not doing it anywhere else.
4 years ago
Kim Alvefur
d621e0626c
MUC: Remove remaining deprecated numeric error codes
...
The numeric error codes seems to have been removed from the examples in
XEP-0045 version 1.24, and were deprecated even by RFC 3920 in 2004,
only allowed for backwards compatibility.
4 years ago
Kim Alvefur
093ef6bb23
MUC: Indicate that the room is the origin of various errors where 'from' is an occupant JID
6 years ago
Matthew Wild
f281528c39
MUC: Adjust priorities of muc-get-default-role handlers ( fixes #1272 )
7 years ago
Matthew Wild
1f50e15c8e
MUC: Add sections in room config form
8 years ago
Matthew Wild
1a0e7d5a10
MUC: Improve labels of all config form items
8 years ago
Matthew Wild
159c96a324
MUC: Clarify logic of invitations in members-only rooms
8 years ago
Matthew Wild
fe271c1641
MUC: Add allowmemberinvites to disco#info so clients know whether to allow users to invite others in a members-only room
8 years ago
Matthew Wild
49677384f6
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this)
8 years ago
Kim Alvefur
27f234ce4e
MUC: Assign priorities to config form hooks so they have a consistent order on each start
10 years ago
Kim Alvefur
7ea91caa95
MUC: Save room to storage once after form processing, not in each individual setter
10 years ago
Kim Alvefur
e05eb9a0d7
MUC: Provide a noop stub room:save() method
10 years ago
Kim Alvefur
acc11c8eb3
MUC: Rename variables to please luacheck
10 years ago
Matthew Wild
08583d3855
MUC: Update all config form handlers to take advantage of the new per-option events
10 years ago
daurnimator
d767ec632d
plugins/muc/members_only: Kick non-members when members-only is turned on
11 years ago
Matthew Wild
e77035761a
mod_muc: Import util.stanza into the config handler modules that need it. Fixes #432 .
12 years ago
daurnimator
9592b3a68c
plugins/muc/members_only.lib: Compare affiliations via rank; wrap some long lines
12 years ago
daurnimator
cd72b2acc4
plugins/muc/muc.lib: Move members_only into seperate file
12 years ago