mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 05:43:44 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
12 lines
267 B
Ruby
12 lines
267 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Chat::UserExtension
|
|
extend ActiveSupport::Concern
|
|
|
|
prepended do
|
|
has_many :user_chat_channel_memberships, dependent: :destroy
|
|
has_many :chat_message_reactions, dependent: :destroy
|
|
has_many :chat_mentions
|
|
end
|
|
end
|