From d9cbf571b0a5154d524ca65485dbb86a51268a06 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 25 Nov 2018 15:55:51 +0100 Subject: Fix muc avatars sometimes not showing split tiles for occupants --- main/src/ui/avatar_image.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui') diff --git a/main/src/ui/avatar_image.vala b/main/src/ui/avatar_image.vala index f690637b..bf6cb9f4 100644 --- a/main/src/ui/avatar_image.vala +++ b/main/src/ui/avatar_image.vala @@ -206,7 +206,7 @@ public class AvatarImage : Misc { stream_interactor.connection_manager.connection_state_changed.connect(on_connection_changed); stream_interactor.get_module(RosterManager.IDENTITY).updated_roster_item.connect(on_roster_updated); } - if (muc_manager.is_groupchat(jid_, account) && !muc_manager.has_avatar(jid_, account)) { + if (muc_manager.is_groupchat(jid_, account) && avatar_manager.get_avatar(account, jid_) == null) { // Groupchat without avatar Gee.List? occupants = muc_manager.get_other_occupants(jid_, account); jid = jid_; -- cgit v1.2.3-70-g09d2