mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 06:08:48 +03:00
Fix error in assignment of image/text
This commit is contained in:
parent
cf4f50dac8
commit
9c154e9747
1 changed files with 6 additions and 6 deletions
|
@ -55,14 +55,14 @@ NotificationsManager::postNotification(const QString &roomid,
|
||||||
Q_UNUSED(icon)
|
Q_UNUSED(icon)
|
||||||
|
|
||||||
QVariantMap hints;
|
QVariantMap hints;
|
||||||
hints["image-data"] = sender + ": " + text;
|
hints["image-data"] = icon;
|
||||||
hints["sound-name"] = "message-new-instant";
|
hints["sound-name"] = "message-new-instant";
|
||||||
QList<QVariant> argumentList;
|
QList<QVariant> argumentList;
|
||||||
argumentList << "nheko"; // app_name
|
argumentList << "nheko"; // app_name
|
||||||
argumentList << (uint)0; // replace_id
|
argumentList << (uint)0; // replace_id
|
||||||
argumentList << ""; // app_icon
|
argumentList << ""; // app_icon
|
||||||
argumentList << roomname; // summary
|
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
|
// 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.
|
// action. Currently we just use an empty string for that.
|
||||||
// TODO(Nico): Look into what to actually put there.
|
// TODO(Nico): Look into what to actually put there.
|
||||||
|
|
Loading…
Reference in a new issue