Slow mode duration:

* channel option is no more a default value, but the current value
* changing naming in accordance
* changing labels and documentation
This commit is contained in:
John Livingston
2024-03-07 17:56:27 +01:00
parent e67b21dd9f
commit de15b7d480
50 changed files with 214 additions and 251 deletions

View File

@ -352,7 +352,7 @@ class RoomChannel {
// This can be done without waiting for the API call to finish, but we don't want to send thousands of
// API calls at the same time. So storing data in a map, and we well launch it sequentially at the end
prosodyRoomUpdates.set(roomJID, {
slow_mode_duration: channelConfigurationOptions.slowMode.defaultDuration
slow_mode_duration: channelConfigurationOptions.slowMode.duration
})
this.roomConfToUpdate.delete(roomJID)