Skip to content

Commit

Permalink
Allow customers to email multiple email endpoints without them gettin…
Browse files Browse the repository at this point in the history
…g deduped
  • Loading branch information
armiiller committed Nov 27, 2023
1 parent b408aed commit af7eccd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/pager_tree/integrations/email/v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def _dedup_keys
keys.concat(Array(_mail.references))
end

keys.compact_blank.uniq
# only dedup the references per integration. Customer like sending one email to multiple integration inboxes
keys.compact_blank.uniq.map { |x| "#{prefix_id}_#{x}" }
end

def _title
Expand Down

0 comments on commit af7eccd

Please sign in to comment.