Add missing arg to string format in user unblock error (#3279)

Co-authored-by: Paweł <zneix@zneix.eu>
This commit is contained in:
Tal Neoran
2021-10-09 18:00:30 +03:00
committed by GitHub
parent 5861722c38
commit fa5a9fe831
+4 -3
View File
@@ -434,10 +434,11 @@ void UserInfoPopup::installEvents()
reenableBlockCheckbox();
},
[this, reenableBlockCheckbox] {
this->channel_->addMessage(
makeSystemMessage(QString(
this->channel_->addMessage(makeSystemMessage(
QString(
"User %1 couldn't be unblocked, an unknown "
"error occurred!")));
"error occurred!")
.arg(this->userName_)));
reenableBlockCheckbox();
});
}