summary refs log tree commit diff
path: root/src/notifications/Manager.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-02-20 13:16:43 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-17 19:17:15 +0100
commitdf998ef67194bdd633df163eef53ec628fc8e090 (patch)
tree38f65c6bac70dbec2c1ff5e467868b6530dec9e6 /src/notifications/Manager.cpp
parentAdd "replied" marker to regular reply messages (diff)
downloadnheko-df998ef67194bdd633df163eef53ec628fc8e090.tar.xz
Get event text in event parser function
Diffstat (limited to 'src/notifications/Manager.cpp')
-rw-r--r--src/notifications/Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifications/Manager.cpp b/src/notifications/Manager.cpp

index eee695a5..e1f59cb1 100644 --- a/src/notifications/Manager.cpp +++ b/src/notifications/Manager.cpp
@@ -27,7 +27,7 @@ NotificationsManager::postNotification(const mtx::responses::Notification &notif ((mtx::accessors::msg_type(notification.event) == mtx::events::MessageType::Emote) ? "* " + sender + " " : sender + reply + ": ") + - formatNotification(mtx::accessors::formattedBodyWithFallback(notification.event)); + formatNotification(notification.event); systemPostNotification(room_id, event_id, room_name, sender, text, icon); }