ask all unknown vcard at startup

This commit is contained in:
Yann Leboulanger 2005-11-14 10:08:50 +00:00
parent c94d1ca48a
commit 6a432bbb67

View file

@ -640,6 +640,13 @@ class RosterWindow:
ishidden = True ishidden = True
gajim.groups[account][g] = { 'expand': ishidden } gajim.groups[account][g] = { 'expand': ishidden }
pixbuf = gtkgui_helpers.get_avatar_pixbuf_from_cache(ji)
if pixbuf == 'ask':
jid_with_resource = contact1.jid
if contact1.resource:
jid_with_resource += '/' + contact1.resource
gajim.connections[account].request_vcard(jid_with_resource)
def chg_contact_status(self, contact, show, status, account): def chg_contact_status(self, contact, show, status, account):
'''When a contact changes his or her status''' '''When a contact changes his or her status'''
showOffline = gajim.config.get('showoffline') showOffline = gajim.config.get('showoffline')