mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 11:35:42 +08:00
DEV: Cover other case for generated message ID in Email::Receiver
This commit is contained in:
parent
7f55ed1a4a
commit
ed68ac054d
@ -964,7 +964,8 @@ module Email
|
|||||||
end
|
end
|
||||||
|
|
||||||
def discourse_generated_message_id?
|
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
|
end
|
||||||
|
|
||||||
def message_id_post_id_regexp
|
def message_id_post_id_regexp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user