fix: notes behavior on users with no id (#6413)
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
- Bugfix: Fixed command triggers showing as '/...' when the value is longer than the column width. (#6369)
|
||||
- Bugfix: Fixed a crash that could occur when making HTTP requests from a timeout handler. (#6375)
|
||||
- Bugfix: Fixed a setting description not filtering correctly on search. (#6389)
|
||||
- Bugfix: Disable note creation on users without an ID. (#6413)
|
||||
- Bugfix: Fixed the split input not updating its height upon tab-completion. (#6411)
|
||||
- Dev: Mini refactor of Split. (#6148)
|
||||
- Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117)
|
||||
|
||||
@@ -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