3ee4b59c64
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. |
||
---|---|---|
.. | ||
category_extension.rb | ||
user_email_extension.rb | ||
user_extension.rb | ||
user_notifications_extension.rb | ||
user_option_extension.rb |