fix getting vcard in rooms where JIDs are public. fixes #7131
This commit is contained in:
parent
7b94905973
commit
0ee415feff
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue