Show system message when reloading subscriber emotes (#3135)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
James Upjohn
2021-08-08 22:59:28 +12:00
committed by GitHub
parent d0d32583a2
commit 6151cd5b05
6 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -870,8 +870,8 @@ void Split::showSearch()
void Split::reloadChannelAndSubscriberEmotes()
{
getApp()->accounts->twitch.getCurrent()->loadEmotes();
auto channel = this->getChannel();
getApp()->accounts->twitch.getCurrent()->loadEmotes(channel);
if (auto twitchChannel = dynamic_cast<TwitchChannel *>(channel.get()))
{
+2 -5
View File
@@ -916,10 +916,6 @@ void SplitHeader::themeChangedEvent()
}
}
void SplitHeader::moveSplit()
{
}
void SplitHeader::reloadChannelEmotes()
{
auto channel = this->split_->getChannel();
@@ -933,7 +929,8 @@ void SplitHeader::reloadChannelEmotes()
void SplitHeader::reloadSubscriberEmotes()
{
getApp()->accounts->twitch.getCurrent()->loadEmotes();
auto channel = this->split_->getChannel();
getApp()->accounts->twitch.getCurrent()->loadEmotes(channel);
}
void SplitHeader::reconnect()
-1
View File
@@ -85,7 +85,6 @@ private:
std::vector<pajlada::Signals::ScopedConnection> channelConnections_;
public slots:
void moveSplit();
void reloadChannelEmotes();
void reloadSubscriberEmotes();
void reconnect();