Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
3 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
057fbeaf06
MUC: Indicate origin of password related errors
6 years ago
Michel Le Bihan
09b659294a
MUC: Check that a room password is set before verifying password supplied by user
7 years ago
Matthew Wild
1f50e15c8e
MUC: Add sections in room config form
8 years ago
Kim Alvefur
d3db6ff3ba
MUC/password: Set room password on creation if included in join stanza
...
This fixes room creation/joining from Gajim if a password has been set.
Otherwise the muc-occupant-pre-join event hook determines that the given
password differs from the unset password and joining is rejected, which
seems unhelpful.
8 years ago
Kim Alvefur
e60ade466c
MUC/password: Rename variable for clarity [luacheck]
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
Matthew Wild
08583d3855
MUC: Update all config form handlers to take advantage of the new per-option events
10 years ago
Matthew Wild
e77035761a
mod_muc: Import util.stanza into the config handler modules that need it. Fixes #432 .
12 years ago
daurnimator
7f0b9f176b
plugins/muc: Move password functions to seperate module
12 years ago