Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
3 years ago
Kim Alvefur
1a0df81387
MUC: Correct advertising of subject write access (really fixes #1155 )
...
Thanks pep. and lovetox
XEP-0045 §6.4:
> any field defined for the muc\#roomconfig FORM_TYPE can be included in
> the extended service discovery fields
Probably happened because the same mistake is in #1155
5 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
Kim Alvefur
c73895f410
Backed out changeset d41f8ce67c8e
...
Turns out this argument wasn’t only in trunk, but has been like this
since 81406277279e
8 years ago
Kim Alvefur
f31d13d486
MUC: Record timestamp of subject changes and stamp delay tag later
...
Thanks whoever mentioned this. Can't find who it was now.
8 years ago
Kim Alvefur
8ada72f3a2
MUC: Reorder subject related arguments to increasing requiredness (API break)
8 years ago
Kim Alvefur
44f4fd0806
Backed out changeset cd186331ab1f (subject in disco#info)
...
Makes more sense if you must join the room to see the subject, since
there’s a separate public description field.
8 years ago
Kim Alvefur
2a3e98fc42
MUC: Include a human-readable error message when not allowed to change subject
8 years ago
Kim Alvefur
157bc12c6b
MUC: Advertise room subject in disco#info
8 years ago
Kim Alvefur
62bed98b84
MUC: Advertise in whether participants are allowed to change the subject ( #1155 )
8 years ago
Matthew Wild
9a63fdd773
MUC: Use empty string if no subject provided (thanks pep+)
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
17eceebb58
MUC/subject: Fix reference to room for save call (self, not room)
10 years ago
Kim Alvefur
bedf8e457a
MUC: Save room after subject is changed
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
daurnimator
a1942ca7a9
plugins/muc: Add muc-occupant-groupchat event
...
- Plugins can cancel messages before they are broadcast; and while they still have real from jid
- Use it for subject changes
- Allows for custom roles (via role_rank)
- Roles are now checked before subject
- Removed muc-subject-change event
11 years ago
daurnimator
1694d8908a
plugins/muc: Fix use of incorrect event on occupant join
12 years ago
daurnimator
70a87e5d5e
plugins/muc/subject.lib: If subject is not set by an occupant, it should come from room jid itself
12 years ago
daurnimator
68f64d2817
plugins/muc: Move subject code to seperate module
12 years ago
Kim Alvefur
c250892998
MUC/subject: Don't consider messages with <body> or <subject> ( fixes #667 )
7 years ago