aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-09-13 14:17:25 +0200
committerMarvin W <git@larma.de>2020-09-14 22:04:05 +0200
commitf6943a4c82ed39b8d6ae866855198596a51dade4 (patch)
tree5ccfd9a788817c3bbad575ae1002c68bde3bd57f /main
parentfb9352fef1a503cb179d9fb5907b26c2ad357923 (diff)
downloaddino-f6943a4c82ed39b8d6ae866855198596a51dade4.tar.gz
dino-f6943a4c82ed39b8d6ae866855198596a51dade4.zip
Fix avatar display in private group chats
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/avatar_image.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/avatar_image.vala b/main/src/ui/avatar_image.vala
index d686760c..e9aa3e71 100644
--- a/main/src/ui/avatar_image.vala
+++ b/main/src/ui/avatar_image.vala
@@ -106,7 +106,7 @@ public class AvatarImage : Misc {
if (avatar_manager.has_avatar_cached(account, avatar_jid)) {
drawer.tile(avatar_manager.get_cached_avatar(account, avatar_jid), display_name, user_color);
} else if (real_avatar_jid != null && avatar_manager.has_avatar_cached(account, real_avatar_jid)) {
- drawer.tile(avatar_manager.get_cached_avatar(account, avatar_jid), display_name, user_color);
+ drawer.tile(avatar_manager.get_cached_avatar(account, real_avatar_jid), display_name, user_color);
} else {
drawer.tile(null, display_name, user_color);
try_load_avatar_async(avatar_jid);