discourse/plugins/chat/app
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
..
controllers/chat PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
helpers/chat DEV: removes default service actions (#26078) 2024-03-07 12:10:43 +01:00
jobs FIX: Use user's locale for chat push notifications (#26107) 2024-03-08 15:18:47 -06:00
models FEATURE: allows to force a thread (#25987) 2024-03-06 12:03:42 +01:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat FEATURE: allows to force a thread (#25987) 2024-03-06 12:03:42 +01:00
serializers/chat FEATURE: allows to force a thread (#25987) 2024-03-06 12:03:42 +01:00
services FIX: allow direct message when max dm users set to 1 (#26392) 2024-03-27 15:59:12 +08:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00