Chore: Change the prefix in reply emails (#1060)

* Chore: Change the prefix in reply emails

In conversation continuity the reply to email was looking like

reply+to+{some_random_hex_id}@reply.chatwoot.com

Changed the prefix to just `reply` instead of `reply+to`.

* Chore: Change reply email prefix in outbound emails

Changed the prefix from `reply+to+` to just `reply+` in
the reply emails in the converstaion related outbound emails.
This commit is contained in:
Sony Mathew
2020-07-19 13:34:34 +05:30
committed by GitHub
parent 642efe8d40
commit 7ef45e5844
5 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ RSpec.describe ConversationReplyMailer, type: :mailer do
end
it 'sets reply to email to be based on the domain' do
reply_to_email = "reply+to+#{message.conversation.uuid}@#{conversation.account.domain}"
reply_to_email = "reply+#{message.conversation.uuid}@#{conversation.account.domain}"
expect(mail.reply_to).to eq([reply_to_email])
end