feat: show warning before blocking followed channel (#5615)

This commit is contained in:
nerix
2024-11-03 13:29:57 +01:00
committed by GitHub
parent 8220a1fbd4
commit d3000ba597
8 changed files with 93 additions and 52 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ void TwitchChannel::refreshTwitchChannelEmotes(bool manualRefresh)
getHelix()->getFollowedChannel(
getApp()->getAccounts()->twitch.getCurrent()->getUserId(),
this->roomId(),
this->roomId(), nullptr,
[weak{this->weak_from_this()}, makeEmotes](const auto &chan) {
auto self = std::dynamic_pointer_cast<TwitchChannel>(weak.lock());
if (!self || !chan)