fix: don't include blocked users in join/part messages (#6181)

This commit is contained in:
pajlada
2025-05-03 11:32:55 +02:00
committed by GitHub
parent 555b921f65
commit e38c64bac3
12 changed files with 98 additions and 34 deletions
+2 -2
View File
@@ -661,7 +661,7 @@ void UserInfoPopup::installEvents()
this->ui_.block->setEnabled(false);
getApp()->getAccounts()->twitch.getCurrent()->unblockUser(
this->userId_, this,
this->userId_, this->userName_, this,
[this, reenableBlockCheckbox, currentUser] {
this->channel_->addSystemMessage(
QString("You successfully unblocked user %1")
@@ -702,7 +702,7 @@ void UserInfoPopup::installEvents()
}
getApp()->getAccounts()->twitch.getCurrent()->blockUser(
this->userId_, this,
this->userId_, this->userName_, this,
[this, reenableBlockCheckbox, currentUser] {
this->channel_->addSystemMessage(
QString("You successfully blocked user %1")