diff --git a/src/libclient/contactmodel.cpp b/src/libclient/contactmodel.cpp index f46f86ec9538c69197bba5c12820eec19f83940f..2aaa37b6774436c2e37e2fdf6ffadce60f0ddfe9 100644 --- a/src/libclient/contactmodel.cpp +++ b/src/libclient/contactmodel.cpp @@ -1186,7 +1186,7 @@ ContactModelPimpl::slotProfileReceived(const QString& accountId, profileInfo.alias = e.split(":")[1]; if (peer == linked.owner.profileInfo.uri) { - if (linked.owner.profileInfo.avatar.isEmpty() && !profileInfo.avatar.isEmpty()) { + if (!profileInfo.avatar.isEmpty()) { auto dest = storage::getPath() + accountId + "/profile.vcf"; QFile oldvCard(dest); if (oldvCard.exists())