Skip to content

Commit

Permalink
messages (internally) marked as nonjunk were not archived
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummolix committed Dec 30, 2019
1 parent 002ce0c commit afffafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backgroundScript/Archiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ namespace AutoarchiveReloaded
//tagged

//GMail uses the tag "junk" to mark junk mails, but they shall not be classified as normal "tags"
const tags = messageHeader.tags.filter((tag) => tag !== "junk");
const tags = messageHeader.tags.filter((tag) => (tag !== "junk" && tag !== "nonjunk") );

if (tags.length > 0)
{
Expand Down

0 comments on commit afffafd

Please sign in to comment.