fix: notes behavior on users with no id (#6413)
This commit is contained in:
@@ -1040,6 +1040,7 @@ void UserInfoPopup::updateUserData()
|
||||
this->ui_.block->setChecked(isIgnoring);
|
||||
this->ui_.block->setEnabled(true);
|
||||
this->ui_.ignoreHighlights->setChecked(isIgnoringHighlights);
|
||||
this->ui_.notesAdd->setEnabled(true);
|
||||
|
||||
auto type = this->underlyingChannel_->getType();
|
||||
|
||||
@@ -1142,6 +1143,8 @@ void UserInfoPopup::updateUserData()
|
||||
|
||||
this->ui_.block->setEnabled(false);
|
||||
this->ui_.ignoreHighlights->setEnabled(false);
|
||||
this->ui_.notesAdd->setEnabled(false);
|
||||
|
||||
bool isMyself =
|
||||
getApp()->getAccounts()->twitch.getCurrent()->getUserName().compare(
|
||||
this->userName_, Qt::CaseInsensitive) == 0;
|
||||
|
||||
Reference in New Issue
Block a user