Added a "CleanChannelName" virtual method to AbstractIrcServer

the TwitchServer implementation makes the channelName full lowercase

Fixes #293
This commit is contained in:
Rasmus Karlsson
2018-04-01 15:10:15 +02:00
committed by fourtf
parent 8e7d89dd40
commit dca11406b9
4 changed files with 22 additions and 4 deletions
+5
View File
@@ -168,6 +168,11 @@ void TwitchServer::forEachChannelAndSpecialChannels(std::function<void(ChannelPt
func(this->mentionsChannel);
}
QString TwitchServer::CleanChannelName(const QString &dirtyChannelName)
{
return dirtyChannelName.toLower();
}
} // namespace twitch
} // namespace providers
} // namespace chatterino