From 0ee415feff36a95f5ac20fd9d22fd09e630a0a5e Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sun, 25 Mar 2012 16:15:25 +0400 Subject: [PATCH] fix getting vcard in rooms where JIDs are public. fixes #7131 --- src/vcard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vcard.py b/src/vcard.py index 295e835ef..27c5dce42 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -268,7 +268,7 @@ class VcardWindow: return if self.xml.get_object('information_notebook').get_n_pages() < 5: return - if obj.fjid != self.contact.jid: + if obj.fjid != self.contact.jid and obj.fjid != self.real_jid: return i = 0 client = '' @@ -299,7 +299,7 @@ class VcardWindow: return if self.xml.get_object('information_notebook').get_n_pages() < 5: return - if obj.fjid != self.contact.jid: + if obj.fjid != self.contact.jid and obj.fjid != self.real_jid: return i = 0 time_s = ''