diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-10-13 19:32:44 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-10-13 19:32:44 +0000 |
| commit | 1eeb722f34b885fe51d075a67127ea28747fc3f8 (patch) | |
| tree | 6db269a6c48731022c22147d1d3feab8f8599a72 /src/QXmppPresence.cpp | |
| parent | 6e7b351d2476803d136d87a706e9a978ee998679 (diff) | |
| download | qxmpp-1eeb722f34b885fe51d075a67127ea28747fc3f8.tar.gz | |
hex instead of base64
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 |
