mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
fix lint
This commit is contained in:
parent
a8810ad016
commit
3ea8a1d452
1 changed files with 4 additions and 3 deletions
|
@ -2018,9 +2018,10 @@ TimelineModel::formatPowerLevelEvent(const QString &id)
|
||||||
if (number_of_affected != 0) {
|
if (number_of_affected != 0) {
|
||||||
auto true_affected_rest = number_of_affected - affected.size();
|
auto true_affected_rest = number_of_affected - affected.size();
|
||||||
if (number_of_affected > 1) {
|
if (number_of_affected > 1) {
|
||||||
resultingMessage.append(
|
resultingMessage.append(default_message + QStringLiteral(" ") +
|
||||||
default_message + QStringLiteral(" ") +
|
tr("%n member(s) can now redact room messages.",
|
||||||
tr("%n member(s) can now redact room messages.", nullptr, true_affected_rest));
|
nullptr,
|
||||||
|
true_affected_rest));
|
||||||
} else if (number_of_affected == 1) {
|
} else if (number_of_affected == 1) {
|
||||||
resultingMessage.append(
|
resultingMessage.append(
|
||||||
default_message + QStringLiteral(" ") +
|
default_message + QStringLiteral(" ") +
|
||||||
|
|
Loading…
Reference in a new issue