ask all unknown vcard at startup
This commit is contained in:
parent
c94d1ca48a
commit
6a432bbb67
1 changed files with 9 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Reference in a new issue