Message whitelist #201:

* sort options based on domain count (highest top)
* hide when whitelist not active
This commit is contained in:
the-djmaze 2023-02-08 11:39:07 +01:00
parent e12eeeafc6
commit 85d3a95dec
3 changed files with 20 additions and 6 deletions

View file

@ -193,6 +193,8 @@ export class MailMessageView extends AbstractViewRight {
return '';
},
showWhitelistOptions: () => 'match' === SettingsUserStore.viewImages(),
firstUnsubsribeLink: () => currentMessage()?.unsubsribeLinks()[0] || '',
pgpSupported: () => currentMessage() && PgpUserStore.isSupported(),