feat: CSAT for all channels (#2749)
This commit is contained in:
19
app/models/concerns/message_filter_helpers.rb
Normal file
19
app/models/concerns/message_filter_helpers.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
module MessageFilterHelpers
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
def reportable?
|
||||
incoming? || outgoing?
|
||||
end
|
||||
|
||||
def webhook_sendable?
|
||||
incoming? || outgoing?
|
||||
end
|
||||
|
||||
def conversation_transcriptable?
|
||||
incoming? || outgoing?
|
||||
end
|
||||
|
||||
def email_reply_summarizable?
|
||||
incoming? || outgoing? || input_csat?
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user