File diff c287dac43303 → 9158aff702ed
conservancy/usethesource/emails.py
Show inline comments
...
 
@@ -27,7 +27,7 @@ https://sfconservancy.org{reverse('usethesource:candidate', kwargs={'slug': cand
 

	
 
--
 
{signature}
 
(Via http//sfconservancy.org{reverse('usethesource:landing')})'''
 
(Via https://sfconservancy.org{reverse('usethesource:landing')})'''
 
    headers = {'Message-ID': candidate.email_message_id}
 
    return EmailMessage(subject, body, sender, to, headers=headers)
 

	
...
 
@@ -47,7 +47,7 @@ https://sfconservancy.org{reverse('usethesource:candidate', kwargs={'slug': cand
 

	
 
--
 
{signature}
 
(Via http//sfconservancy.org{reverse('usethesource:landing')})'''
 
(Via https://sfconservancy.org{reverse('usethesource:landing')})'''
 
    headers = {'Message-ID': comment.email_message_id}
 
    if in_reply_to := comment.in_reply_to():
 
        # From my testing, both "In-Reply-To" and "References" headers trigger