From 90c13efab1fd1b67625ec23815ccc195803e230e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 28 Sep 2020 00:21:23 +0200 Subject: Matrix: fix login with pantalaimon proxy, fix logout crash, show real login error --- include/DownloadUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/DownloadUtils.hpp b/include/DownloadUtils.hpp index 6af53ac..8f26bfc 100644 --- a/include/DownloadUtils.hpp +++ b/include/DownloadUtils.hpp @@ -20,7 +20,7 @@ namespace QuickMedia { std::string value; }; - DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor, bool use_browser_useragent = false); + DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor, bool use_browser_useragent = false, bool fail_on_error = true); DownloadResult download_to_string_cache(const std::string &url, std::string &result, const std::vector &additional_args, bool use_tor, bool use_browser_useragent = false); std::vector create_command_args_from_form_data(const std::vector &form_data); } \ No newline at end of file -- cgit v1.2.3