diff options
author | Denis Fomin <fominde@gmail.com> | 2012-03-25 16:15:25 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2012-03-25 16:15:25 +0400 |
commit | 0ee415feff36a95f5ac20fd9d22fd09e630a0a5e (patch) | |
tree | 4b6f6f11c752416602caf556abeb4f1647bcd120 | |
parent | 7b94905973d76065dc38d05698225472bf7a9953 (diff) |
fix getting vcard in rooms where JIDs are public. fixes #7131
-rw-r--r-- | src/vcard.py | 4 |
1 files 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 = '' |