diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-24 21:22:12 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-24 21:22:12 +0900 |
commit | 68d7a22c25014f09c0346cf1a2501b4fd1fd882a (patch) | |
tree | 2b17cd4b9b5c51e9a490b07bc37d67c8df37ff0d | |
parent | 36ca96ed4ef0e4f63e6925ea8d6e8b7925473fea (diff) | |
download | libquotient-68d7a22c25014f09c0346cf1a2501b4fd1fd882a.tar.gz libquotient-68d7a22c25014f09c0346cf1a2501b4fd1fd882a.zip |
Typo fixes for the previous commit
Requires deleting the cache :(
-rw-r--r-- | avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ bool Avatar::updateUrl(const QUrl& newUrl) // FIXME: Make it a library-wide constant and maybe even make the URL checker // a Connection(?) method. - if (newUrl.scheme() != "mxc://" || newUrl.path().count('/') != 2) + if (newUrl.scheme() != "mxc" || newUrl.path().count('/') != 1) { qCWarning(MAIN) << "Malformed avatar URL:" << newUrl.toDisplayString(); return false; |