From 98f8e0186dee50062b213b8d4b55134e2862a2d8 Mon Sep 17 00:00:00 2001
From: Kasia <zneix@zneix.eu>
Date: Mon, 16 May 2022 17:58:47 +0200
Subject: [PATCH] Remove unused Env member for emoteset resolver url (#3743)

---
 src/common/Env.cpp                             | 3 ---
 src/common/Env.hpp                             | 1 -
 src/controllers/commands/CommandController.cpp | 1 -
 3 files changed, 5 deletions(-)

diff --git a/src/common/Env.cpp b/src/common/Env.cpp
index 724c8d92a..ec278ea0f 100644
--- a/src/common/Env.cpp
+++ b/src/common/Env.cpp
@@ -54,9 +54,6 @@ Env::Env()
     , linkResolverUrl(readStringEnv(
           "CHATTERINO2_LINK_RESOLVER_URL",
           "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(
           readStringEnv("CHATTERINO2_TWITCH_SERVER_HOST", "irc.chat.twitch.tv"))
     , twitchServerPort(readPortEnv("CHATTERINO2_TWITCH_SERVER_PORT", 443))
diff --git a/src/common/Env.hpp b/src/common/Env.hpp
index 6dc8077a9..b334e8e96 100644
--- a/src/common/Env.hpp
+++ b/src/common/Env.hpp
@@ -13,7 +13,6 @@ public:
 
     const QString recentMessagesApiUrl;
     const QString linkResolverUrl;
-    const QString twitchEmoteSetResolverUrl;
     const QString twitchServerHost;
     const uint16_t twitchServerPort;
     const bool twitchServerSecure;
diff --git a/src/controllers/commands/CommandController.cpp b/src/controllers/commands/CommandController.cpp
index 5fb725936..e4fe0f20e 100644
--- a/src/controllers/commands/CommandController.cpp
+++ b/src/controllers/commands/CommandController.cpp
@@ -448,7 +448,6 @@ void CommandController::initialize(Settings &, Paths &paths)
         QStringList debugMessages{
             "recentMessagesApiUrl: " + env.recentMessagesApiUrl,
             "linkResolverUrl: " + env.linkResolverUrl,
-            "twitchEmoteSetResolverUrl: " + env.twitchEmoteSetResolverUrl,
             "twitchServerHost: " + env.twitchServerHost,
             "twitchServerPort: " + QString::number(env.twitchServerPort),
             "twitchServerSecure: " + QString::number(env.twitchServerSecure),