show avatar in roster when we recieve the vcard

This commit is contained in:
Yann Leboulanger 2005-11-14 18:14:28 +00:00
parent 51601d42cc
commit 647aef402e
1 changed files with 2 additions and 0 deletions

View File

@ -664,6 +664,8 @@ class Interface:
if win: if win:
# FIXME: this will be removed when we have the thread working # FIXME: this will be removed when we have the thread working
win.show_avatar(jid, resource) win.show_avatar(jid, resource)
# Show avatar in roster
self.roster.draw_contact(jid, account)
if self.remote is not None: if self.remote is not None:
self.remote.raise_signal('VcardInfo', (account, vcard)) self.remote.raise_signal('VcardInfo', (account, vcard))