|
|
|
@ -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 << 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.
|
|
|
|
|