Skip to content
Snippets Groups Projects
Commit 0a572cf8 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

check if contact is still in room when we want to draw his avatar

parent c3062d49
No related branches found
No related tags found
No related merge requests found
......@@ -753,6 +753,8 @@ class GroupchatControl(ChatControlBase):
def draw_avatar(self, nick):
model = self.list_treeview.get_model()
iter = self.get_contact_iter(nick)
if not iter:
return
if gajim.config.get('show_avatars_in_roster'):
pixbuf = gtkgui_helpers.get_avatar_pixbuf_from_cache(self.room_jid + \
'/' + nick, True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment