trabajo-afectivo/app/models/chat/message.rb
2022-01-01 14:38:12 +01:00

10 lines
295 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class Chat::Message < ApplicationModel
include ChecksHtmlSanitized
belongs_to :chat_session, class_name: 'Chat::Session'
belongs_to :created_by, class_name: 'User', optional: true
sanitized_html :content
end