Kim Alvefur
6b306e3313
MUC: Remove XEP-0091: Legacy Delayed Delivery
...
Why do we still include this? Deprecated in 2007, obsoleted in 2009.
Removes redundant timestamp that nobody should be looking at since many
years and a redundant copy of the room JID.
5 years ago
Kim Alvefur
ce1056565d
MUC: Adapt rules for what should be stored from mod_mam
...
This is the subset of mod_mam rules I believe makes sense in MUC.
Note that mod_muc_mam does not have its own rules, but uses these.
6 years ago
Kim Alvefur
a280be7c08
MUC: Fix delay@from to be room JID ( fixes #1416 )
6 years ago
Kim Alvefur
7207a107fd
MUC: Advertise history related fields as integers via XEP-0122
...
This takes advantage of data type validation and conversion done in util.dataforms.
6 years ago
Kim Alvefur
e4b27b4e7a
MUC: Split long lines [luacheck strict]
8 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
814f998b90
MUC: Introduce an event to allow plugins to influence which messages are added to history
8 years ago
Kim Alvefur
c9a4b55656
MUC: Move condition for what gets added to history so that other modules benefit (thanks jcbrand)
...
This helps mod_muc_mam avoid logging eg chat-state-only messages without
needing to implement similar logic in many places
8 years ago
Kim Alvefur
e8b2d9e21f
MUC: Include original stanza in send history event
9 years ago
Kim Alvefur
33e17c6554
MUC: Decrement priority muc-get-history hook to standard for core modules
9 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
0e905606b9
MUC: Move history to room._history
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
Matthew Wild
3ce10e3af3
mod_muc: Add muc-add-history event to allow modules to override default history storage
11 years ago
daurnimator
1694d8908a
plugins/muc: Fix use of incorrect event on occupant join
12 years ago
daurnimator
940094d4fa
plugins/muc: Move 'module:get_option_number("max_history_messages")' from mod_muc into history lib; remove from muclib exports
12 years ago
daurnimator
09fa17a7ef
plugins/muc/muc.lib: Move sending of occupant list to joining user out of hook, and into main flow: It has to occur before publication of their status
12 years ago
daurnimator
b661ecb24f
plugins/muc: Move history to an external module
...
This resulted in the split up of the main muc-occupant-joined event handler into 3 seperate ones, handling occupant list, history and subject
12 years ago