Fix: Pass rule id to consumed .eml files (#5800)

This commit is contained in:
shamoon 2024-02-16 22:36:33 -08:00 committed by GitHub
parent cfc64d37bb
commit 4d0e8a338f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -831,6 +831,7 @@ class MailAccountHandler(LoggingMixin):
input_doc = ConsumableDocument( input_doc = ConsumableDocument(
source=DocumentSource.MailFetch, source=DocumentSource.MailFetch,
original_file=temp_filename, original_file=temp_filename,
mailrule_id=rule.pk,
) )
doc_overrides = DocumentMetadataOverrides( doc_overrides = DocumentMetadataOverrides(
title=message.subject, title=message.subject,