diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-04 22:14:43 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-09-04 22:14:43 +0200 |
commit | 2f8f8fbd31ee0b305e2edd5883878e0ca861edb8 (patch) | |
tree | 77c884d666f6b47f31c5f722917b381767a242f1 /user-profiles/feeds/imm-notmuch-insert.py | |
parent | b3a5c0729e286ff6e2ee70c2cda431642ee52504 (diff) | |
download | nixos-2f8f8fbd31ee0b305e2edd5883878e0ca861edb8.tar nixos-2f8f8fbd31ee0b305e2edd5883878e0ca861edb8.tar.gz nixos-2f8f8fbd31ee0b305e2edd5883878e0ca861edb8.tar.bz2 nixos-2f8f8fbd31ee0b305e2edd5883878e0ca861edb8.tar.xz nixos-2f8f8fbd31ee0b305e2edd5883878e0ca861edb8.zip |
feeds: ignore upstream wrt. message-id
Diffstat (limited to 'user-profiles/feeds/imm-notmuch-insert.py')
-rw-r--r-- | user-profiles/feeds/imm-notmuch-insert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user-profiles/feeds/imm-notmuch-insert.py b/user-profiles/feeds/imm-notmuch-insert.py index 98a05c7e..2790abd0 100644 --- a/user-profiles/feeds/imm-notmuch-insert.py +++ b/user-profiles/feeds/imm-notmuch-insert.py | |||
@@ -20,7 +20,7 @@ def main(): | |||
20 | msg['From'] = f"{callbackMessage['feed_definition']['title']} ({authors}) <imm@imm.invalid>" | 20 | msg['From'] = f"{callbackMessage['feed_definition']['title']} ({authors}) <imm@imm.invalid>" |
21 | msg['To'] = f"{notmuchConfig['user']['name']} <{notmuchConfig['user']['primary_email']}>" | 21 | msg['To'] = f"{notmuchConfig['user']['name']} <{notmuchConfig['user']['primary_email']}>" |
22 | msg['Subject'] = callbackMessage['feed_item']['title'] | 22 | msg['Subject'] = callbackMessage['feed_item']['title'] |
23 | msg['Message-ID'] = f"{callbackMessage['feed_item']['identifier']}@imm.invalid" | 23 | msg['Item-Identifier'] = f"{callbackMessage['feed_item']['identifier']}@imm.invalid" |
24 | for link in callbackMessage['feed_item']['links']: | 24 | for link in callbackMessage['feed_item']['links']: |
25 | msg.add_header('Link', link['uri']) | 25 | msg.add_header('Link', link['uri']) |
26 | if 'date' in callbackMessage['feed_item']: | 26 | if 'date' in callbackMessage['feed_item']: |