mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 09:28:40 +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.