Skip to content

Commit

Permalink
[mail] MsgComposeCommands: remove setIdentityWarning call
Browse files Browse the repository at this point in the history
  • Loading branch information
roytam1 committed Jul 2, 2022
1 parent 3dbfc66 commit 0abce9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mail/components/compose/content/MsgComposeCommands.js
Expand Up @@ -2650,12 +2650,6 @@ function ComposeStartup(aParams)
}
params.identity = identity;
}

// Warn if no or more than one match was found.
// But don't warn for +suffix additions (a+b@c.com).
if (from && (suitableCount > 1 ||
(suitableCount == 0 && !emailSimilar(from, params.identity.email))))
gComposeNotificationBar.setIdentityWarning(params.identity.identityName);
}

identityList.selectedItem =
Expand Down

0 comments on commit 0abce9f

Please sign in to comment.