From 1eeb722f34b885fe51d075a67127ea28747fc3f8 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Wed, 13 Oct 2010 19:32:44 +0000 Subject: hex instead of base64 --- src/QXmppPresence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/QXmppPresence.cpp') diff --git a/src/QXmppPresence.cpp b/src/QXmppPresence.cpp index 00746fdd..8d5a1662 100644 --- a/src/QXmppPresence.cpp +++ b/src/QXmppPresence.cpp @@ -84,7 +84,7 @@ void QXmppPresence::parse(const QDomElement &element) QDomElement photoElement = xElement.firstChildElement("photo"); if(!photoElement.isNull()) { - m_photoHash = QByteArray::fromBase64(photoElement.text().toAscii()); + m_photoHash = QByteArray::fromHex(photoElement.text().toAscii()); if(m_photoHash.isEmpty()) m_vCardUpdateType = PhotoNotAdvertized; else -- cgit v1.2.3