aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-28 00:21:23 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-28 00:21:23 +0200
commit90c13efab1fd1b67625ec23815ccc195803e230e (patch)
tree3bb0c28e8be756df9344a95dbd888450bb694113 /include
parentb3fb1615038e821fb9abf60788ccdead04dd005a (diff)
Matrix: fix login with pantalaimon proxy, fix logout crash, show real login error
Diffstat (limited to 'include')
-rw-r--r--include/DownloadUtils.hpp2
1 files changed, 1 insertions, 1 deletions
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<CommandArg> &additional_args, bool use_tor, bool use_browser_useragent = false);
+ DownloadResult download_to_string(const std::string &url, std::string &result, const std::vector<CommandArg> &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<CommandArg> &additional_args, bool use_tor, bool use_browser_useragent = false);
std::vector<CommandArg> create_command_args_from_form_data(const std::vector<FormData> &form_data);
} \ No newline at end of file