Add support for persistent copilot messages and threads
This commit is contained in:
@@ -78,6 +78,7 @@ class User < ApplicationRecord
|
||||
alias_attribute :conversations, :assigned_conversations
|
||||
has_many :csat_survey_responses, foreign_key: 'assigned_agent_id', dependent: :nullify, inverse_of: :assigned_agent
|
||||
has_many :conversation_participants, dependent: :destroy_async
|
||||
has_many :copilot_threads, dependent: :destroy
|
||||
has_many :participating_conversations, through: :conversation_participants, source: :conversation
|
||||
|
||||
has_many :inbox_members, dependent: :destroy_async
|
||||
|
||||
Reference in New Issue
Block a user