removed unused function
This commit is contained in:
@@ -45,7 +45,7 @@ QString TwitchEmotes::cleanUpEmoteCode(const EmoteName &dirtyEmoteCode)
|
||||
EmotePtr TwitchEmotes::getOrCreateEmote(const EmoteId &id,
|
||||
const EmoteName &name_)
|
||||
{
|
||||
static QMap<QString, QString> replacements{
|
||||
static const QMap<QString, QString> replacements{
|
||||
{"[oO](_|\\.)[oO]", "O_o"}, {"\\>\\;\\(", ">("},
|
||||
{"\\<\\;3", "<3"}, {"\\:-?(o|O)", ":O"},
|
||||
{"\\:-?(p|P)", ":P"}, {"\\:-?[\\\\/]", ":/"},
|
||||
@@ -95,9 +95,4 @@ Url TwitchEmotes::getEmoteLink(const EmoteId &id, const QString &emoteScale)
|
||||
.replace("{scale}", emoteScale)};
|
||||
}
|
||||
|
||||
AccessGuard<std::unordered_map<EmoteName, EmotePtr>> TwitchEmotes::accessAll()
|
||||
{
|
||||
return this->twitchEmotes_.access();
|
||||
}
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user