mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:52:38 +08:00

This change allows the correct number of members to be added when creating a group direct message, based on the site setting chat_max_direct_message_users. Previously we counted the current user within the max user limit and therefore the count was off by 1.