fix: Update auto reply and hide reply time for email inbox (#3985)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Aswin Dev P.S
2022-02-15 03:41:28 -08:00
committed by GitHub
parent e6f8895c1b
commit 464e12ceb7
4 changed files with 38 additions and 10 deletions

View File

@@ -5,8 +5,7 @@ class EmailReplyWorker
def perform(message_id)
message = Message.find(message_id)
return unless message.outgoing? || message.input_csat?
return if message.private?
return unless message.email_notifiable_message?
# send the email
ConversationReplyMailer.with(account: message.account).email_reply(message).deliver_later