Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jderecho committed Mar 19, 2024
1 parent 08146c5 commit 91a3732
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/mailers/conversation_reply_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,7 @@ def inbox_from_email_address
end

def custom_message_id
<<<<<<< Updated upstream
last_message = @message || @messages.incoming_email&.last
=======
last_message = @message || @messages&.reject { |m| m.content_type == 'text' }&.last
>>>>>>> Stashed changes

return last_message.source_id if last_message&.source_id.present?

Expand Down

0 comments on commit 91a3732

Please sign in to comment.