Skip to content
Snippets Groups Projects
Commit 0ee415fe authored by Dicson's avatar Dicson
Browse files

fix getting vcard in rooms where JIDs are public. fixes #7131

parent 7b949059
No related branches found
No related tags found
No related merge requests found
......@@ -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 = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment