Fix when "replied" is displayed

I accidentally put it in backwards.
pull/475/head
Loren Burkholder 4 years ago committed by Nicolas Werner
parent df998ef671
commit c693d54598
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 6
      src/notifications/Manager.cpp

@ -17,10 +17,10 @@ NotificationsManager::postNotification(const mtx::responses::Notification &notif
room_id, QString::fromStdString(mtx::accessors::sender(notification.event))); room_id, QString::fromStdString(mtx::accessors::sender(notification.event)));
const QString reply = (utils::isReply(notification.event) const QString reply = (utils::isReply(notification.event)
? "" ? tr(" replied",
: tr(" replied",
"Used to denote that this message is a reply to another " "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 // the "replied" is only added if this message is not an emote message
QString text = QString text =

Loading…
Cancel
Save