Commit 4cf57f22 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Readd libgravatar support

parent c8c7ae30
......@@ -22,7 +22,7 @@ set(QT_REQUIRED_VERSION "5.12.0")
set(AKONADI_VERSION "5.14.40")
set(GRANTLEETHEME_LIB_VERSION "5.14.40")
set(GRAVATAR_LIB_VERSION "5.14.40")
set(GRAVATAR_LIB_VERSION "5.14.41")
set(IDENTITYMANAGEMENT_LIB_VERSION "5.14.40")
set(KDEPIM_APPS_LIB_VERSION "5.14.40")
set(KLDAP_LIB_VERSION "5.14.40")
......
......@@ -112,6 +112,8 @@ void ContactDisplayMessageMemento::slotSearchJobFinished(KJob *job)
job->setEmail(mEmailAddress);
job->setUseDefaultPixmap(
Gravatar::GravatarSettings::self()->gravatarUseDefaultImage());
job->setFallbackGravatar(Gravatar::GravatarSettings::self()->fallbackToGravatar());
job->setUseLibravatar(Gravatar::GravatarSettings::self()->libravatarSupportEnabled());
if (job->canStart()) {
connect(job, &Gravatar::GravatarResolvUrlJob::finished, this,
&ContactDisplayMessageMemento::slotGravatarResolvUrlFinished);
......
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