mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: Pass rule id to consumed .eml files (#5800)
This commit is contained in:
parent
cfc64d37bb
commit
4d0e8a338f
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user