summary refs log tree commit diff
path: root/src/notifications/ManagerLinux.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-20 16:15:14 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-20 16:15:14 -0500
commit9c154e974747b699c62079c6d4edd2f81d7951ef (patch)
tree196566cf12a7493a7e6ea713ff12d0ce7fb3a8bd /src/notifications/ManagerLinux.cpp
parentUse deleteLater() instead of delete (diff)
downloadnheko-9c154e974747b699c62079c6d4edd2f81d7951ef.tar.xz
Fix error in assignment of image/text
Diffstat (limited to 'src/notifications/ManagerLinux.cpp')
-rw-r--r--src/notifications/ManagerLinux.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp

index 36692d03..2c15a712 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp
@@ -55,14 +55,14 @@ NotificationsManager::postNotification(const QString &roomid, Q_UNUSED(icon) QVariantMap hints; - hints["image-data"] = sender + ": " + text; + hints["image-data"] = icon; hints["sound-name"] = "message-new-instant"; QList<QVariant> argumentList; - argumentList << "nheko"; // app_name - argumentList << (uint)0; // replace_id - argumentList << ""; // app_icon - argumentList << roomname; // summary - argumentList << text; // body + argumentList << "nheko"; // app_name + argumentList << (uint)0; // replace_id + argumentList << ""; // app_icon + argumentList << roomname; // summary + argumentList << sender + ": " + text; // body // The list of actions has always the action name and then a localized version of that // action. Currently we just use an empty string for that. // TODO(Nico): Look into what to actually put there.