This commit is contained in:
Nikos Kouremenos 2005-10-31 11:09:18 +00:00
parent 0670282453
commit a3227aacb4
1 changed files with 2 additions and 2 deletions

View File

@ -956,8 +956,8 @@ class Interface:
vcard_dict = gajim.connections[account].get_cached_vcard(jid) vcard_dict = gajim.connections[account].get_cached_vcard(jid)
if not vcard_dict.has_key('PHOTO'): if not vcard_dict.has_key('PHOTO'):
return None return None
pix, _t, _t = vcard.get_avatar_pixbuf(vcard_dict['PHOTO']) pixbuf = vcard.get_avatar_pixbuf(vcard_dict['PHOTO'])[0]
return pix return pixbuf
def read_sleepy(self): def read_sleepy(self):
'''Check idle status and change that status if needed''' '''Check idle status and change that status if needed'''