Fixes #385, moderator mode icon not showing when broadcaster
This commit is contained in:
@@ -40,8 +40,8 @@ AccountPopupWidget::AccountPopupWidget(ChannelPtr _channel)
|
||||
connect(this, &AccountPopupWidget::refreshButtons, this,
|
||||
&AccountPopupWidget::actuallyRefreshButtons, Qt::QueuedConnection);
|
||||
|
||||
app->accounts->Twitch.currentUserChanged.connect([=] {
|
||||
auto currentTwitchUser = app->accounts->Twitch.getCurrent();
|
||||
app->accounts->Twitch.currentUserChanged.connect([this] {
|
||||
auto currentTwitchUser = getApp()->accounts->Twitch.getCurrent();
|
||||
if (!currentTwitchUser) {
|
||||
// No twitch user set (should never happen)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user