summary refs log tree commit diff
path: root/src/AvatarProvider.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-21 21:33:35 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-21 21:33:35 +0100
commitaa7ac71cfe2bcba01a1f6d23e9265549941de653 (patch)
tree73daf68c4b770ea7372756189f8fb6e760f67e75 /src/AvatarProvider.cpp
parentAccount for spacing when checking for bottom message for read status (diff)
downloadnheko-aa7ac71cfe2bcba01a1f6d23e9265549941de653.tar.xz
Fix room avatars in settings
Diffstat (limited to 'src/AvatarProvider.cpp')
-rw-r--r--src/AvatarProvider.cpp2
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;