From ad23cbf1343c744eded60736c98370d2ed99f753 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 20 Dec 2019 02:37:18 +0100 Subject: Fix tor not used for all connections when enabled --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/QuickMedia.cpp') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 5fcfc73..557370a 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1049,7 +1049,7 @@ namespace QuickMedia { return true; std::string image_content; - if(download_to_string(url, image_content) != DownloadResult::OK) { + if(download_to_string(url, image_content, {}, current_plugin->use_tor) != DownloadResult::OK) { show_notification("Manganelo", "Failed to download image: " + url, Urgency::CRITICAL); return false; } -- cgit v1.2.3