discourse/plugins/chat/lib
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
..
discourse_dev
email_controller_helper
extensions DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
onebox/templates
tasks
validators
chat_channel_archive_service.rb
chat_channel_fetcher.rb FIX: Minor hashtag autocomplete fixes (#19173) 2022-11-24 15:45:13 +11:00
chat_channel_hashtag_data_source.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
chat_channel_membership_manager.rb
chat_mailer.rb FIX: Deliver chat summaries when allowed groups include "everyone" (#18955) 2022-11-09 10:54:47 -03:00
chat_message_bookmarkable.rb
chat_message_creator.rb FIX: webhook should touch channel’s last_message_sent_at (#19342) 2022-12-06 19:33:39 +01:00
chat_message_processor.rb
chat_message_rate_limiter.rb
chat_message_reactor.rb
chat_message_updater.rb FIX: Make ChatMessageUpdater check editing access for guardian (#18902) 2022-11-08 09:04:18 +10:00
chat_notifier.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
chat_review_queue.rb
chat_seeder.rb
chat_statistics.rb
chat_transcript_service.rb
direct_message_channel_creator.rb FEATURE: introduces `chat_max_direct_message_users` setting (#18997) 2022-11-15 10:40:28 +01:00
duplicate_message_validator.rb
guardian_extensions.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
message_mover.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
post_notification_handler.rb
secure_uploads_compatibility.rb
slack_compatibility.rb