feat: Add CSAT Message Template Hooks (#2494)

This commit is contained in:
Sojan Jose
2021-06-23 19:29:27 +05:30
committed by GitHub
parent 640e028bde
commit cd11efea1d
6 changed files with 115 additions and 7 deletions

View File

@@ -67,11 +67,11 @@ class Inbox < ApplicationRecord
end
def facebook?
channel.class.name.to_s == 'Channel::FacebookPage'
channel_type == 'Channel::FacebookPage'
end
def web_widget?
channel.class.name.to_s == 'Channel::WebWidget'
channel_type == 'Channel::WebWidget'
end
def inbox_type