discourse/plugins/chat/lib/extensions
Martin Brennan 3ee4b59c64
DEV: Use guardian user for can_chat? (#19418)
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.
2022-12-13 09:14:17 +10:00
..
category_extension.rb FIX: Delete associated channel upon category deletion 2022-11-22 10:04:29 +01:00
user_email_extension.rb DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
user_extension.rb DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
user_notifications_extension.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
user_option_extension.rb DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00