From f6943a4c82ed39b8d6ae866855198596a51dade4 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 13 Sep 2020 14:17:25 +0200 Subject: Fix avatar display in private group chats --- main/src/ui/avatar_image.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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); -- cgit v1.2.3-70-g09d2