Skip to content

Commit

Permalink
Merge branch 'jb50910' into 'master'
Browse files Browse the repository at this point in the history
[commhistoryd] Add contact avatar images to notifications. Contributes to JB#50910

See merge request mer-core/commhistory-daemon!44
  • Loading branch information
adenexter committed Sep 11, 2020
2 parents 828a4b1 + 8fdb628 commit 3a97a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/commhistory-daemon.spec
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/personalnotification.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 3a97a31

Please sign in to comment.