discourse/plugins
David Battersby 23fc0fb078
FIX: allow direct message when max dm users set to 1 (#26392)
Why this change?
When the site setting for chat_max_direct_message_users is set to 1, it is expected that users can have a 1:1 chat with other users. However, since the current user is counting as 1 user it makes starting a new chat impossible.

This change hands this validation off to DirectMessageChannel::MaxUsersExcessPolicy which handles the count correctly by filtering out the current user.
2024-03-27 15:59:12 +08:00
..
chat FIX: allow direct message when max dm users set to 1 (#26392) 2024-03-27 15:59:12 +08:00
checklist DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
discourse-details DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
discourse-lazy-videos DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
discourse-local-dates FIX: missing IST KST and JST timezones in cooked posts (#26252) 2024-03-20 11:28:45 +11:00
discourse-narrative-bot Update translations (#26368) 2024-03-26 16:30:01 +01:00
discourse-presence DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
footnote DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
poll Update translations (#26368) 2024-03-26 16:30:01 +01:00
spoiler-alert DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
styleguide Update translations (#26136) 2024-03-12 15:40:11 +01:00