mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 13:55:07 +00:00
Someone who cannot chat is also not able to join chat channels, so we may not check all the time user.can_chat? && user.can_join_chat_channel? and just call user.can_join_chat_channel? instead.