From c693d545985a3e142bb3d8f30cc6f47988488142 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Sat, 20 Feb 2021 13:58:04 -0500 Subject: [PATCH] Fix when "replied" is displayed I accidentally put it in backwards. --- src/notifications/Manager.cpp | 6 +++--- 1 file 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 ¬if 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 =