fix: notes behavior on users with no id (#6413)

This commit is contained in:
isgkm
2025-08-23 15:05:06 +02:00
committed by GitHub
parent 8392817ac5
commit bc1a87a9c8
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -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)
+3
View File
@@ -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;