diff --git a/CHANGELOG.md b/CHANGELOG.md index 005ea8a8fb..e99fbe05b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ - Update inApp help (11.4.2023) - improve confirm abort dialog for setup second device #3173 +### Fixed +- fix "Always Load Remote Images" should be hidden for contact requests #3180 + ## [1.36.1] - 2023-04-09 diff --git a/src/main/windows/html_email.ts b/src/main/windows/html_email.ts index e9d0fad7ef..73a3866f49 100644 --- a/src/main/windows/html_email.ts +++ b/src/main/windows/html_email.ts @@ -155,10 +155,15 @@ export function openHtmlEmailWindow( }, }), } - const menu = electron.Menu.buildFromTemplate([ - menuItems.always_show(), - menuItems.dont_ask(), - ]) + let menu: Electron.Menu + if (isContactRequest) { + menu = electron.Menu.buildFromTemplate([menuItems.dont_ask()]) + } else { + menu = electron.Menu.buildFromTemplate([ + menuItems.always_show(), + menuItems.dont_ask(), + ]) + } menu.popup({ window, x, y }) })