summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-02-20 13:58:04 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-17 19:17:15 +0100
commitc693d545985a3e142bb3d8f30cc6f47988488142 (patch)
tree0c16218ff5ba218f1a64c4e7e891ca0233e551b1 /src/notifications
parentGet event text in event parser function (diff)
downloadnheko-c693d545985a3e142bb3d8f30cc6f47988488142.tar.xz
Fix when "replied" is displayed
I accidentally put it in backwards.
Diffstat (limited to 'src/notifications')
-rw-r--r--src/notifications/Manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notifications/Manager.cpp b/src/notifications/Manager.cpp

index e1f59cb1..1e4d8167 100644 --- a/src/notifications/Manager.cpp +++ b/src/notifications/Manager.cpp
@@ -17,10 +17,10 @@ NotificationsManager::postNotification(const mtx::responses::Notification &notif room_id, QString::fromStdString(mtx::accessors::sender(notification.event))); const QString reply = (utils::isReply(notification.event) - ? "" - : tr(" replied", + ? tr(" replied", "Used to denote that this message is a reply to another " - "message. Displayed as 'foo replied: message'.")); + "message. Displayed as 'foo replied: message'.") + : ""); // the "replied" is only added if this message is not an emote message QString text =