From 2885e3dbda78d135b087bde0111a2e4663a082b4 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Sun, 17 Jun 2007 16:10:00 +0000 Subject: [PATCH] [misc] Update own vcard when requested. Fix #3237. --- src/gajim.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index 054d09f5b..56a741da5 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -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)