Add a global switch to stop loading images from links

'Load images from links' (default on) gates every link image fetch in
MessageUrlImageHelper: chat previews, notification images, ipfs://
resolution and pyx/ibb scraping. Per-chat toggles keep their values but
are disabled while it is off. IPFS uploads are unaffected.
This commit is contained in:
zjs81 committed 2026-10-24 22:01:29 -07:00
1 parent 7f5f71d070
commit 79e3668c18
31 files changed
+381 -33

No files matched your search

+3
View File
@@ -69,6 +69,7 @@
},
"urlImage_enable": "Enable URL images",
"urlImage_possible": "Possible URL image; enable it in Settings.",
"urlImage_disabledInAppSettings": "Turned off in app settings",
"common_reboot": "Reboot",
"common_loading": "Loading...",
"common_notAvailable": "—",
@@ -455,6 +456,8 @@
"appSettings_maxMessageRetriesSubtitle": "Number of retry attempts before marking a message as failed",
"appSettings_ipfsImageLinks": "IPFS provider configuration",
"appSettings_ipfsImageLinksSubtitle": "Upload for url Images (or Files) via IPFS provider and default gateway to receive",
"appSettings_loadLinkImages": "Load images from links",
"appSettings_loadLinkImagesSubtitle": "Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.",
"appSettings_publicIpfsGateway": "Public gateway",
"appSettings_ipfsGatewayDeactivated": "Deactivated",
"appSettings_ipfsGatewayIpfsIo": "ipfs.io",
+18
View File
@@ -382,6 +382,12 @@ abstract class AppLocalizations {
/// **'Possible URL image; enable it in Settings.'**
String get urlImage_possible;
/// No description provided for @urlImage_disabledInAppSettings.
///
/// In en, this message translates to:
/// **'Turned off in app settings'**
String get urlImage_disabledInAppSettings;
/// No description provided for @common_reboot.
///
/// In en, this message translates to:
@@ -1966,6 +1972,18 @@ abstract class AppLocalizations {
/// **'Upload for url Images (or Files) via IPFS provider and default gateway to receive'**
String get appSettings_ipfsImageLinksSubtitle;
/// No description provided for @appSettings_loadLinkImages.
///
/// In en, this message translates to:
/// **'Load images from links'**
String get appSettings_loadLinkImages;
/// No description provided for @appSettings_loadLinkImagesSubtitle.
///
/// In en, this message translates to:
/// **'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.'**
String get appSettings_loadLinkImagesSubtitle;
/// No description provided for @appSettings_publicIpfsGateway.
///
/// In en, this message translates to:
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsBg extends AppLocalizations {
String get urlImage_possible =>
'Възможно изображение от URL; активирайте го в Настройки.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Рестартирай';
@@ -1083,6 +1086,13 @@ class AppLocalizationsBg extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsDe extends AppLocalizations {
String get urlImage_possible =>
'Mögliches URL-Bild; in den Einstellungen aktivieren.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Neustart';
@@ -1078,6 +1081,13 @@ class AppLocalizationsDe extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get urlImage_possible => 'Possible URL image; enable it in Settings.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Reboot';
@@ -1062,6 +1065,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsEs extends AppLocalizations {
String get urlImage_possible =>
'Posible imagen de URL; actívala en Configuración.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Reiniciar';
@@ -1075,6 +1078,13 @@ class AppLocalizationsEs extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsFr extends AppLocalizations {
String get urlImage_possible =>
'Image URL possible ; activez-la dans les Paramètres.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Redémarrer';
@@ -1081,6 +1084,13 @@ class AppLocalizationsFr extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsHu extends AppLocalizations {
String get urlImage_possible =>
'Lehetséges URL-kép; engedélyezze a Beállításokban.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Indítsa újra';
@@ -1070,6 +1073,13 @@ class AppLocalizationsHu extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsIt extends AppLocalizations {
String get urlImage_possible =>
'Possibile immagine URL; abilitala nelle Impostazioni.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Riavvia';
@@ -1081,6 +1084,13 @@ class AppLocalizationsIt extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -147,6 +147,9 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get urlImage_possible => 'URL画像の可能性があります。設定で有効にしてください。';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => '再起動';
@@ -1018,6 +1021,13 @@ class AppLocalizationsJa extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -147,6 +147,9 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get urlImage_possible => 'URL 이미지일 수 있습니다. 설정에서 활성화하세요.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => '재부팅';
@@ -1022,6 +1025,13 @@ class AppLocalizationsKo extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -151,6 +151,9 @@ class AppLocalizationsNl extends AppLocalizations {
String get urlImage_possible =>
'Mogelijke URL-afbeelding; schakel dit in bij Instellingen.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Herstarten';
@@ -1071,6 +1074,13 @@ class AppLocalizationsNl extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -152,6 +152,9 @@ class AppLocalizationsPl extends AppLocalizations {
String get urlImage_possible =>
'Możliwy obraz z URL; włącz go w Ustawieniach.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Uruchom ponownie';
@@ -1087,6 +1090,13 @@ class AppLocalizationsPl extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsPt extends AppLocalizations {
String get urlImage_possible =>
'Possível imagem de URL; ative-a em Configurações.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Reiniciar';
@@ -1079,6 +1082,13 @@ class AppLocalizationsPt extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsRu extends AppLocalizations {
String get urlImage_possible =>
'Возможно изображение по URL; включите это в настройках.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Перезагрузить';
@@ -1084,6 +1087,13 @@ class AppLocalizationsRu extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -151,6 +151,9 @@ class AppLocalizationsSk extends AppLocalizations {
String get urlImage_possible =>
'Možný obrázok z URL; povoľte ho v Nastaveniach.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Restartovať';
@@ -1070,6 +1073,13 @@ class AppLocalizationsSk extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -152,6 +152,9 @@ class AppLocalizationsSl extends AppLocalizations {
String get urlImage_possible =>
'Mogoča slika iz URL; omogočite jo v Nastavitvah.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Ponoviti';
@@ -1072,6 +1075,13 @@ class AppLocalizationsSl extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsSv extends AppLocalizations {
String get urlImage_possible =>
'Möjlig URL-bild; aktivera den i Inställningar.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Starta om';
@@ -1061,6 +1064,13 @@ class AppLocalizationsSv extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -150,6 +150,9 @@ class AppLocalizationsUk extends AppLocalizations {
String get urlImage_possible =>
'Можливе зображення за URL; увімкніть це в Налаштуваннях.';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => 'Перезавантажити';
@@ -1074,6 +1077,13 @@ class AppLocalizationsUk extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';
+10
View File
@@ -146,6 +146,9 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get urlImage_possible => '可能是URL图片,请在设置中启用。';
@override
String get urlImage_disabledInAppSettings => 'Turned off in app settings';
@override
String get common_reboot => '重启';
@@ -1002,6 +1005,13 @@ class AppLocalizationsZh extends AppLocalizations {
String get appSettings_ipfsImageLinksSubtitle =>
'Upload for url Images (or Files) via IPFS provider and default gateway to receive';
@override
String get appSettings_loadLinkImages => 'Load images from links';
@override
String get appSettings_loadLinkImagesSubtitle =>
'Show pictures from links in messages. Loading an image shares your IP address with the site that hosts it.';
@override
String get appSettings_publicIpfsGateway => 'Public gateway';