Commit 3a97a318 authored by Andrew den Exter's avatar Andrew den Exter

Merge branch 'jb50910' into 'master'

[commhistoryd] Add contact avatar images to notifications. Contributes to JB#50910

See merge request !44
parents 828a4b1a 8fdb6281
......@@ -11,7 +11,7 @@ BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(Qt5Versit)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(commhistory-qt5) >= 1.9.33
BuildRequires: pkgconfig(commhistory-qt5) >= 1.10.2
BuildRequires: pkgconfig(contactcache-qt5)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
BuildRequires: pkgconfig(TelepathyQt5)
......
......@@ -165,6 +165,7 @@ void PersonalNotification::publishNotification()
m_notification->setHintValue("x-commhistoryd-data", serialized().toBase64());
m_notification->setSummary(name);
m_notification->setBody(notificationText());
m_notification->setIcon(m_recipient.contactAvatarUrl().toString());
NotificationManager::instance()->setNotificationProperties(m_notification, this, false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment