Verified Commit cc9f5c53 authored by Linus Jahn's avatar Linus Jahn

VCardManager: Fix checksum comparision

parent df3e1aac
......@@ -64,7 +64,7 @@ void VCardManager::handlePresence(const QXmppPresence &presence)
if (presence.vCardUpdateType() == QXmppPresence::VCardUpdateValidPhoto) {
QString hash = avatarStorage->getHashOfJid(QXmppUtils::jidToBareJid(presence.from()));
QString newHash = presence.photoHash();
QString newHash = presence.photoHash().toHex();
// check if hash differs and we need to refetch the avatar
if (hash != newHash)
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