aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/members_only.lib.lua
Commit message (Collapse)AuthorAgeFilesLines
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-1/+1
|
* MUC: Remove <{muc}x> tags in some errorsKim Alvefur2021-12-081-1/+1
| | | | | Including the payload of the stanza that caused the error is optional and we're generally not doing it anywhere else.
* MUC: Remove remaining deprecated numeric error codesKim Alvefur2021-12-081-1/+0
| | | | | | 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.
* Merge 0.11->trunkMatthew Wild2021-05-131-2/+10
|\
| * MUC: Add support for advertising muc#roomconfig_allowinvites in room disco#infoMatthew Wild2021-05-101-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | MUC: Indicate that the room is the origin of various errors where 'from' is ↵Kim Alvefur2019-11-251-2/+2
|/ | | | an occupant JID
* MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)Matthew Wild2018-12-191-1/+1
|
* MUC: Add sections in room config formMatthew Wild2018-07-131-1/+1
|
* MUC: Improve labels of all config form itemsMatthew Wild2018-07-131-3/+4
|
* MUC: Clarify logic of invitations in members-only roomsMatthew Wild2018-07-071-3/+5
|
* MUC: Add allowmemberinvites to disco#info so clients know whether to allow ↵Matthew Wild2018-07-071-0/+7
| | | | users to invite others in a members-only room
* MUC: Add config option to allow members to invite other members to the room ↵Matthew Wild2018-07-061-3/+30
| | | | (previously only owners/admins could do this)
* MUC: Assign priorities to config form hooks so they have a consistent order ↵Kim Alvefur2016-04-191-1/+1
| | | | on each start
* MUC: Save room to storage once after form processing, not in each individual ↵Kim Alvefur2016-04-151-1/+1
| | | | setter
* MUC: Provide a noop stub room:save() methodKim Alvefur2016-04-141-1/+1
|
* MUC: Rename variables to please luacheckKim Alvefur2016-01-201-2/+2
|
* MUC: Update all config form handlers to take advantage of the new per-option ↵Matthew Wild2015-12-111-3/+2
| | | | events
* plugins/muc/members_only: Kick non-members when members-only is turned ondaurnimator2014-10-151-0/+24
|
* mod_muc: Import util.stanza into the config handler modules that need it. ↵Matthew Wild2014-08-051-0/+2
| | | | Fixes #432.
* plugins/muc/members_only.lib: Compare affiliations via rank; wrap some long ↵daurnimator2014-04-211-17/+31
| | | | lines
* plugins/muc/muc.lib: Move members_only into seperate filedaurnimator2014-04-041-0/+89