fix the draw avatar calls
This commit is contained in:
parent
37ea4052e1
commit
36438f44b6
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue