discourse/spec/lib/email
Martin Brennan b8a5f95eb6
FIX: Handle multiple In-Reply-To Message-ID in group inbox (#29912)
This fix handles the case where an In-Reply-To mail header
can contain multiple Message-IDs. We use this header to
try look up an EmailLog record to find the post to reply
to in the group email inbox flow.

Since the case where multiple In-Reply-To Message-IDs is
rare (we've only seen a couple of instances of this causing
errors in the wild), we are just going to use the first one
in the array.

Also, Discourse does not support replying to multiple posts
at once, so it doesn't really make sense to use multiple
In-Reply-To Message-IDs anyway.
2024-11-26 11:12:40 +10:00
..
authentication_results_spec.rb
cleaner_spec.rb
email_spec.rb
message_builder_spec.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
processor_spec.rb DEV: Don’t replace Rails logger in specs (#29721) 2024-11-13 08:47:39 +08:00
receiver_spec.rb FIX: Handle multiple In-Reply-To Message-ID in group inbox (#29912) 2024-11-26 11:12:40 +10:00
renderer_spec.rb
sender_spec.rb FIX: show lightbox for small images (#29140) 2024-10-18 09:45:08 +04:00
styles_spec.rb