summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@ymail.com>2022-04-10 22:48:16 +0200
committerNicolas Werner <nicolas.werner@ymail.com>2022-04-10 22:48:16 +0200
commit3ea8a1d4523edfbc8638d6dd3ce10465acc36cc1 (patch)
treeba12f45c26b6557040fc5feb53f4dd061f3e3d3a /src/timeline/TimelineModel.cpp
parentAdd specific powerlevel messages (#852) (diff)
downloadnheko-3ea8a1d4523edfbc8638d6dd3ce10465acc36cc1.tar.xz
fix lint
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r--src/timeline/TimelineModel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index 070d226f..e80cc659 100644
--- a/src/timeline/TimelineModel.cpp
+++ b/src/timeline/TimelineModel.cpp
@@ -2018,9 +2018,10 @@ TimelineModel::formatPowerLevelEvent(const QString &id)
             if (number_of_affected != 0) {
                 auto true_affected_rest = number_of_affected - affected.size();
                 if (number_of_affected > 1) {
-                    resultingMessage.append(
-                      default_message + QStringLiteral(" ") +
-                      tr("%n member(s) can now redact room messages.", nullptr, true_affected_rest));
+                    resultingMessage.append(default_message + QStringLiteral(" ") +
+                                            tr("%n member(s) can now redact room messages.",
+                                               nullptr,
+                                               true_affected_rest));
                 } else if (number_of_affected == 1) {
                     resultingMessage.append(
                       default_message + QStringLiteral(" ") +