chore: Use the name of the sender from the mail object
if the sender email is Sony Mathew <Sony@chatwoot.com> Contact should be built with Sony Mathew Fixes #2911
This commit is contained in:
@@ -82,6 +82,6 @@ class SupportMailbox < ApplicationMailbox
|
||||
end
|
||||
|
||||
def identify_contact_name
|
||||
processed_mail.from.first.split('@').first
|
||||
processed_mail.sender_name || processed_mail.from.first.split('@').first
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user