discourse/plugins/chat/lib/extensions/user_extension.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
267 B
Ruby
Raw Normal View History

# 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