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:
1 parent
7f5f71d070
commit
79e3668c18
31 files changed
+381
-33
No files matched your search
@@ -328,6 +328,10 @@ class AppSettingsService extends ChangeNotifier {
|
||||
await updateSettings(_settings.copyWith(networkMapPromptShown: value));
|
||||
}
|
||||
|
||||
Future<void> setLoadLinkImages(bool value) async {
|
||||
await updateSettings(_settings.copyWith(loadLinkImages: value));
|
||||
}
|
||||
|
||||
Future<void> setIpfsImageSettings({
|
||||
required String publicGateway,
|
||||
required String uploadGateway,
|
||||
|
||||
Reference in new issue
Block a user