[misc] Update own vcard when requested. Fix #3237.
This commit is contained in:
parent
786d63a430
commit
2885e3dbda
|
@ -993,6 +993,9 @@ class Interface:
|
||||||
win.set_values(array)
|
win.set_values(array)
|
||||||
if account in self.show_vcard_when_connect:
|
if account in self.show_vcard_when_connect:
|
||||||
self.show_vcard_when_connect.remove(account)
|
self.show_vcard_when_connect.remove(account)
|
||||||
|
jid = array['jid']
|
||||||
|
if self.instances[account]['infos'].has_key(jid):
|
||||||
|
self.instances[account]['infos'][jid].set_values(array)
|
||||||
|
|
||||||
def handle_event_vcard(self, account, vcard):
|
def handle_event_vcard(self, account, vcard):
|
||||||
# ('VCARD', account, data)
|
# ('VCARD', account, data)
|
||||||
|
|
Loading…
Reference in New Issue