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

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