diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-21 21:33:35 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-21 21:33:35 +0100 |
commit | aa7ac71cfe2bcba01a1f6d23e9265549941de653 (patch) | |
tree | 73daf68c4b770ea7372756189f8fb6e760f67e75 /src/AvatarProvider.cpp | |
parent | Account for spacing when checking for bottom message for read status (diff) | |
download | nheko-aa7ac71cfe2bcba01a1f6d23e9265549941de653.tar.xz |
Fix room avatars in settings
Diffstat (limited to 'src/AvatarProvider.cpp')
-rw-r--r-- | src/AvatarProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AvatarProvider.cpp b/src/AvatarProvider.cpp index b91657bc..89496b20 100644 --- a/src/AvatarProvider.cpp +++ b/src/AvatarProvider.cpp @@ -31,7 +31,7 @@ namespace AvatarProvider { void resolve(const QString &avatarUrl, int size, QObject *receiver, AvatarCallback callback) { - const auto cacheKey = avatarUrl + "_size_" + size; + const auto cacheKey = QString("%1_size_%2").arg(avatarUrl).arg(size); if (avatarUrl.isEmpty()) return; |