Remove unused Env member for emoteset resolver url (#3743)

This commit is contained in:
Kasia 2022-05-16 17:58:47 +02:00 committed by GitHub
parent 3bf1756579
commit 98f8e0186d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 5 deletions

View file

@ -54,9 +54,6 @@ Env::Env()
, linkResolverUrl(readStringEnv( , linkResolverUrl(readStringEnv(
"CHATTERINO2_LINK_RESOLVER_URL", "CHATTERINO2_LINK_RESOLVER_URL",
"https://braize.pajlada.com/chatterino/link_resolver/%1")) "https://braize.pajlada.com/chatterino/link_resolver/%1"))
, twitchEmoteSetResolverUrl(readStringEnv(
"CHATTERINO2_TWITCH_EMOTE_SET_RESOLVER_URL",
"https://braize.pajlada.com/chatterino/twitchemotes/set/%1/"))
, twitchServerHost( , twitchServerHost(
readStringEnv("CHATTERINO2_TWITCH_SERVER_HOST", "irc.chat.twitch.tv")) readStringEnv("CHATTERINO2_TWITCH_SERVER_HOST", "irc.chat.twitch.tv"))
, twitchServerPort(readPortEnv("CHATTERINO2_TWITCH_SERVER_PORT", 443)) , twitchServerPort(readPortEnv("CHATTERINO2_TWITCH_SERVER_PORT", 443))

View file

@ -13,7 +13,6 @@ public:
const QString recentMessagesApiUrl; const QString recentMessagesApiUrl;
const QString linkResolverUrl; const QString linkResolverUrl;
const QString twitchEmoteSetResolverUrl;
const QString twitchServerHost; const QString twitchServerHost;
const uint16_t twitchServerPort; const uint16_t twitchServerPort;
const bool twitchServerSecure; const bool twitchServerSecure;

View file

@ -448,7 +448,6 @@ void CommandController::initialize(Settings &, Paths &paths)
QStringList debugMessages{ QStringList debugMessages{
"recentMessagesApiUrl: " + env.recentMessagesApiUrl, "recentMessagesApiUrl: " + env.recentMessagesApiUrl,
"linkResolverUrl: " + env.linkResolverUrl, "linkResolverUrl: " + env.linkResolverUrl,
"twitchEmoteSetResolverUrl: " + env.twitchEmoteSetResolverUrl,
"twitchServerHost: " + env.twitchServerHost, "twitchServerHost: " + env.twitchServerHost,
"twitchServerPort: " + QString::number(env.twitchServerPort), "twitchServerPort: " + QString::number(env.twitchServerPort),
"twitchServerSecure: " + QString::number(env.twitchServerSecure), "twitchServerSecure: " + QString::number(env.twitchServerSecure),