diff --git a/src/groupchat_control.py b/src/groupchat_control.py index f0528789f..0234ce5a1 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -939,7 +939,7 @@ class GroupchatControl(ChatControlBase): model[iter][C_TEXT] = name def draw_avatar(self, nick): - if gajim.config.get('show_avatars_in_roster'): + if not gajim.config.get('show_avatars_in_roster'): return model = self.list_treeview.get_model() iter = self.get_contact_iter(nick) diff --git a/src/roster_window.py b/src/roster_window.py index eddf464c8..c58373b11 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -760,7 +760,7 @@ class RosterWindow: def draw_avatar(self, jid, account): '''draw the avatar''' - if gajim.config.get('show_avatars_in_roster'): + if not gajim.config.get('show_avatars_in_roster'): return model = self.tree.get_model() iters = self.get_contact_iter(jid, account)