fix: Improve mail content parsing (#2638)

This commit is contained in:
Pranav Raj S
2021-07-15 22:50:32 +05:30
committed by GitHub
parent 85ea56b765
commit 5aac2acf56
2 changed files with 15 additions and 5 deletions

View File

@@ -9,10 +9,12 @@ class SupportMailbox < ApplicationMailbox
:decorate_mail
def process
find_or_create_contact
create_conversation
create_message
add_attachments_to_message
ActiveRecord::Base.transaction do
find_or_create_contact
create_conversation
create_message
add_attachments_to_message
end
end
private