We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a246d commit 8ff8dcaCopy full SHA for 8ff8dca
app/models/pager_tree/integrations/email/v3.rb
@@ -77,9 +77,14 @@ def _thirdparty_id
77
end
78
79
def _dedup_keys
80
- keys = [_thirdparty_id]
81
- keys.concat(Array(_mail.references)) if option_dedup_threads
82
- keys
+ keys = []
+
+ if option_dedup_threads
83
+ keys.concat(Array(_thirdparty_id))
84
+ keys.concat(Array(_mail.references))
85
+ end
86
87
+ keys.compact_blank.uniq
88
89
90
def _title
scripts/test.sh
@@ -0,0 +1 @@
1
+dotenv -f .env.test.local bundle exec rails test
0 commit comments