# Copyright (C) 2012-2021 Zammad Foundation, http://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