[misc] Update own vcard when requested. Fix #3237.

This commit is contained in:
Julien Pivotto 2007-06-17 16:10:00 +00:00
parent 786d63a430
commit 2885e3dbda
1 changed files with 3 additions and 0 deletions

View File

@ -993,6 +993,9 @@ class Interface:
win.set_values(array)
if account in self.show_vcard_when_connect:
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):
# ('VCARD', account, data)