Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Workaround for duplicating recipients (Fix #35) - #36

Merged
snipsnipsnip merged 1 commit into
exteditor:masterfrom
snipsnipsnip:workaround-doubling-recipients
Sep 19, 2019
Merged

snipsnipsnip merged 1 commit into
exteditor:masterfrom
snipsnipsnip:workaround-doubling-recipients

Conversation

@snipsnipsnip

@snipsnipsnip snipsnipsnip commented Sep 19, 2019 •

Copy link
Copy Markdown
Member

It looks like CompFields2Recipients is no longer clearing
existing recipient fields like To, CC, or BCC in Thunderbird 68.
Replicated the original function and modified to workaround.

See also: mozilla/releases-comm-central@b0970cd
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1525828

It looks like CompFields2Recipients is no longer clearing
existing recipient fields like To, CC, or BCC in Thunderbird 68.
Replicated the original function and modified to workaround.

See also: mozilla/releases-comm-central@b0970cd
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1525828
@snipsnipsnip
snipsnipsnip merged commit 9c43085 into exteditor:master Sep 19, 2019
@snipsnipsnip
snipsnipsnip deleted the workaround-doubling-recipients branch September 19, 2019 15:24
Comment thread chrome/content/exteditor.js Resolved
Comment thread chrome/content/exteditor.js Resolved
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Oct 7, 2019
Use awRemoveRecipients/awAddRecipients instead of trying to tweak somehow
broken CompFields2Recipients as done in exteditor#36.

Also, I wonder if writing back address field changes to
gMsgCompose.compFields is really necessary. Removed them as a trial.
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Oct 7, 2019
Use awRemoveRecipients/awAddRecipients instead of trying to tweak somehow
broken CompFields2Recipients as done in exteditor#36.

Also, I wonder if writing back address field changes to
gMsgCompose.compFields is really necessary. Removed them as a trial.
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Oct 7, 2019
Use `awRemoveRecipients`/`awAddRecipients` instead of trying to tweak
somehow broken `CompFields2Recipients` as we did in exteditor#36.

Also, I wonder if writing back address field changes to
`gMsgCompose.compFields` is really necessary. Removed them as a trial.
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Oct 7, 2019
Use `awRemoveRecipients`/`awAddRecipients` instead of trying to tweak
somehow broken `CompFields2Recipients` as we did in exteditor#36.

Also, I wonder if writing back address field changes to
`gMsgCompose.compFields` is really necessary. Removed them as a trial.
snipsnipsnip added a commit to snipsnipsnip/exteditor that referenced this pull request Oct 8, 2019
Use `awAddRecipients` instead of trying to tweak somehow broken
`CompFields2Recipients` as we did in exteditor#36.

Also, I wonder if writing back address field changes to
`gMsgCompose.compFields` is really necessary. Removed them as a trial.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant