mirror of
https://github.com/discourse/discourse.git
synced 2026-08-17 16:35:03 -05: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.