Commit e8ef9a8a authored by Mark Sapiro's avatar Mark Sapiro

Merge branch 'nntp' into 'master'

Properly capitalize new Subject: header.

See merge request !550
parents e99fdce9 05d60864
Pipeline #77631692 passed with stages
in 9 minutes and 55 seconds
......@@ -127,7 +127,7 @@ def prepare_message(mlist, msg, msgdata):
if not mlist.nntp_prefix_subject_too and stripped_subject is not None:
del msg['subject']
msg['subject'] = stripped_subject
msg['Subject'] = stripped_subject
# Add the appropriate Newsgroups header. Multiple Newsgroups headers are
# generally not allowed so we're not testing for them.
header = msg.get('newsgroups')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment