DEV: Cover other case for generated message ID in Email::Receiver

This commit is contained in:
Martin Brennan 2020-08-03 13:37:06 +10:00
parent 7f55ed1a4a
commit ed68ac054d
No known key found for this signature in database
GPG Key ID: A08063EEF3EA26A4
1 changed files with 2 additions and 1 deletions

View File

@ -964,7 +964,8 @@ module Email
end
def discourse_generated_message_id?
!(@message_id =~ message_id_post_id_regexp).nil?
!!(@message_id =~ message_id_post_id_regexp) ||
!!(@message_id =~ message_id_topic_id_regexp)
end
def message_id_post_id_regexp