diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-10-26 20:34:41 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-11-12 11:47:20 +0100 |
commit | d87b138a89f734995d33fa91ebdccca59f848673 (patch) | |
tree | 580f8dc7e331c3646936834440e173c693edb740 /scripts | |
parent | 81bfb367c84b6a66b93a5ef7577622ec23b1882b (diff) |
notify: Fix merging of header dicts
Fixes another regression introduced in c764999 (notify: Split out email
header generation, 2015-10-10).
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/notify.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/notify.py b/scripts/notify.py index 4832baf..d3d9cb0 100755 --- a/scripts/notify.py +++ b/scripts/notify.py @@ -242,7 +242,8 @@ def request_open(cur, uid, reqid, reqtype, pkgbase_id, merge_into=None): refs = '[1] ' + user_uri + '\n' refs += '[2] ' + pkgbase_uri + '\n' thread_id = '<pkg-request-' + reqid + '@aur.archlinux.org>' - headers = headers_msgid(thread_id) + headers_cc(cc) + headers = headers_reply(thread_id) + headers.update(headers_cc(cc)) send_notification(to, subject, body, refs, headers) @@ -263,7 +264,8 @@ def request_close(cur, uid, reqid, reason): body += ':\n\n' + text refs = '[1] ' + user_uri thread_id = '<pkg-request-' + reqid + '@aur.archlinux.org>' - headers = headers_reply(thread_id) + headers_cc(cc) + headers = headers_reply(thread_id) + headers.update(headers_cc(cc)) send_notification(to, subject, body, refs, headers) |