diff options
Diffstat (limited to 'src/QXmppPresence.cpp')
| -rw-r--r-- | src/QXmppPresence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
