Made emote tooltips use author's displayName consistently (#2267)

This commit is contained in:
Paweł
2020-12-12 16:15:49 +01:00
committed by GitHub
parent dcebcd4456
commit 155b40985b
5 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ void TwitchChannel::setLocalizedName(const QString &name)
void TwitchChannel::refreshBTTVChannelEmotes(bool manualRefresh)
{
BttvEmotes::loadChannel(
weakOf<Channel>(this), this->roomId(), this->getName(),
weakOf<Channel>(this), this->roomId(), this->getLocalizedName(),
[this, weak = weakOf<Channel>(this)](auto &&emoteMap) {
if (auto shared = weak.lock())
this->bttvEmotes_.set(