diff --git a/src/xmpp/xmpp-im/types.cpp b/src/xmpp/xmpp-im/types.cpp index 6b212b70..46ae76ab 100644 --- a/src/xmpp/xmpp-im/types.cpp +++ b/src/xmpp/xmpp-im/types.cpp @@ -2077,7 +2077,7 @@ CapsSpec CapsSpec::fromXml(const QDomElement &e) { QString node = e.attribute("node"); QString ver = e.attribute("ver"); - QString hashAlgo = e.attribute("hash"); + QString hashAlgo = e.attribute("hash").toLower(); QString ext = e.attribute("ext"); // deprecated. let it be here till 2018 CryptoMap &cm = cryptoMap(); CapsSpec cs;