~adrianiainlam/messagingmenu-extension/thunderbird-68

Viewing all changes in revision 163.

  • Committer: Adrian I. Lam
  • Date: 2021-06-05 11:43:55 UTC
  • Revision ID: me@adrianiainlam.tk-20210605114355-z6k2g18p252tg36n
Remove sender/return-path/author check.

Probably an API change has caused the author field to include
additional information. For example, I am getting

    username@domain.tld (Display Name)

And the part in the brackets causes a mismatch with the return-path.
I have decided to just remove this check completely, because writing
a regex that correctly extracts the email address, while covering all
corner cases, seems too complicated (cf. <https://stackoverflow.com/a/201378>).

Revert setting attentionForAll to true.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: