From c0a5a3e8058255376494408730c9948aae8f66af Mon Sep 17 00:00:00 2001 From: Maverick Date: Mon, 14 Oct 2024 16:42:52 +0200 Subject: [PATCH] feat: Print proxy URL information in `/debug-env` command (#5648) --- CHANGELOG.md | 1 + src/controllers/commands/builtin/chatterino/Debugging.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cef1eba4..b150919ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ - Minor: The emote popup now reloads when Twitch emotes are reloaded. (#5580) - Minor: Added `--login ` CLI argument to specify which account to start logged in as. (#5626) - Minor: Indicate when subscriptions and resubscriptions are for multiple months. (#5642) +- Minor: Proxy URL information is now included in the `/debug-env` command. (#5648) - Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426, #5612) - Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378) - Bugfix: Fixed restricted users usernames not being clickable. (#5405) diff --git a/src/controllers/commands/builtin/chatterino/Debugging.cpp b/src/controllers/commands/builtin/chatterino/Debugging.cpp index 2984aa9e9..7a33dac8f 100644 --- a/src/controllers/commands/builtin/chatterino/Debugging.cpp +++ b/src/controllers/commands/builtin/chatterino/Debugging.cpp @@ -79,6 +79,7 @@ QString listEnvironmentVariables(const CommandContext &ctx) QStringList debugMessages{ "recentMessagesApiUrl: " + env.recentMessagesApiUrl, "linkResolverUrl: " + env.linkResolverUrl, + "proxyUrl: " + env.proxyUrl.value_or("N/A"), "twitchServerHost: " + env.twitchServerHost, "twitchServerPort: " + QString::number(env.twitchServerPort), "twitchServerSecure: " + QString::number(env.twitchServerSecure),