discourse/plugins/chat/app/controllers
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
..
admin
api FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
api_controller.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
chat_base_controller.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
chat_channels_controller.rb
chat_controller.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
direct_messages_controller.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
emojis_controller.rb
incoming_chat_webhooks_controller.rb SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00