From a698a969ae89e661baa4307c206e734ecd18985c Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 19 Sep 2006 08:52:51 +0000
Subject: [PATCH] do not override jid_label in vcard when we get the vcard.
 Fixes #1840

---
 src/vcard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vcard.py b/src/vcard.py
index bdee6b1db9..0983233d31 100644
--- a/src/vcard.py
+++ b/src/vcard.py
@@ -163,7 +163,7 @@ class VcardWindow:
 				if i == 'DESC':
 					self.xml.get_widget('DESC_textview').get_buffer().set_text(
 						vcard[i], 0)
-				else:
+				elif i != 'jid': # Do not override jid_label
 					self.set_value(i + '_label', vcard[i])
 		self.vcard_arrived = True
 		self.test_remove_progressbar()
-- 
GitLab