# 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