discourse/plugins/chat/app/models/chat
Loïc Guitaut 1377186d38 DEV: Refactor chat channel fetching
This is extracted from #22390.

This patch introduces a scope to avoid duplication and a new method,
`Chat::Channel.find_by_id_or_slug` to allow finding a channel either by
its id or by its slug (or its category slug).
2023-07-27 11:55:17 +02:00
..
category_channel.rb DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
channel_archive.rb
channel.rb DEV: Refactor chat channel fetching 2023-07-27 11:55:17 +02:00
deleted_user.rb
direct_message_channel.rb DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
direct_message_user.rb
direct_message.rb DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
draft.rb
incoming_webhook.rb
mention.rb
message_reaction.rb
message_revision.rb
message.rb FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
reviewable_message.rb
thread.rb FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
threads_view.rb WIP: threads list pagination (#22502) 2023-07-12 09:38:44 +02:00
tracking_state_report.rb FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10:00
user_chat_channel_membership.rb FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
user_chat_thread_membership.rb FIX: Backfill chat thread memberships (#21971) 2023-06-14 13:54:51 +10:00
webhook_event.rb