fix: Update from_email in the name to fix the syntax error (#6900)

This commit is contained in:
Tejaswini Chile
2023-04-13 23:12:38 +05:30
committed by GitHub
parent 9ca21df9fd
commit 2b736f4698
3 changed files with 4 additions and 3 deletions

View File

@@ -116,7 +116,8 @@ class ConversationReplyMailer < ApplicationMailer
def channel_email_with_name
if @conversation.assignee.present?
I18n.t('conversations.reply.channel_email.header.reply_with_name', assignee_name: assignee_name, inbox_name: @inbox.name)
I18n.t('conversations.reply.channel_email.header.reply_with_name', assignee_name: assignee_name, inbox_name: @inbox.name,
from_email: @channel.email)
else
I18n.t('conversations.reply.channel_email.header.reply_with_inbox_name', inbox_name: @inbox.name, from_email: @channel.email)
end