Skip to content

Make reply-all consider recipients of email#501

Merged
c-w merged 1 commit intomasterfrom
reply-all
Oct 8, 2020
Merged

Make reply-all consider recipients of email#501
c-w merged 1 commit intomasterfrom
reply-all

Conversation

@c-w
Copy link
Copy Markdown
Member

@c-w c-w commented Oct 4, 2020

When replying-all to an email, previously recipients of the replied email weren't being added to the new email. This pull request changes this behavior by adding all people who were on the TO or CC line of the replied email to the CC line of the new email.

Fixes #449

@c-w c-w requested a review from sbathgate October 4, 2020 20:15
Copy link
Copy Markdown
Member

@sbathgate sbathgate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, using the chain itertool and list comprehension was a slick way to iterate through it. Only edge case I can think of is if someone unnecessarily adds someone to the To: and CC: fields but that is a pretty minimal consequence.

I feel like it would be worth adding a test to validate this expanded capability operates as expected too, no?

@c-w
Copy link
Copy Markdown
Member Author

c-w commented Oct 6, 2020

Currently we have no tests at all set up for this unfortunately, so I'd err on the side of deferring this to the larger effort in #418.

@c-w c-w merged commit c5a0c97 into master Oct 8, 2020
@c-w c-w deleted the reply-all branch October 8, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ReplyAll button doesn't work

2 participants