Instead of passing `user` to `guardian.can_chat?`, we can just use the inner `@user` that is part of the guardian instance already to determine whether that user can chat, since this is how it works for all other usages of guardian even within chat. |
||
|---|---|---|
| .. | ||
| auto_join_channel_batch.rb | ||
| auto_manage_channel_memberships.rb | ||
| chat_channel_archive.rb | ||
| chat_channel_delete.rb | ||
| chat_notify_mentioned.rb | ||
| chat_notify_watching.rb | ||
| delete_user_messages.rb | ||
| process_chat_message.rb | ||
| update_channel_user_count.rb | ||