Skip to content

Commit

Permalink
Merge pull request #36 from DigitalTolk/smart-actions
Browse files Browse the repository at this point in the history
fix custom_attributes errors
  • Loading branch information
jderecho authored May 13, 2024
2 parents a0e9360 + d154ea8 commit 310eda5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/digitaltolk/mail_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def self.no_reply_email?(email)
end

def self.csat_disabled?(message)
return false if message.blank? && (convo = message.conversation).blank?
return false if message.blank?
return false if (convo = message.conversation).blank?
return true if blocked_csat?(convo)

last_message = convo.messages.incoming.last
Expand Down

0 comments on commit 310eda5

Please sign in to comment.