don't request jabber:iq:last and jabber:iq:version to real jid in a (semi) anonymous room, even if we're moderator and we know the real JID. Fixes #3454
This commit is contained in:
parent
4db9685849
commit
3f838e5f3e
|
@ -77,7 +77,10 @@ class VcardWindow:
|
|||
|
||||
# Get real jid
|
||||
if gc_contact:
|
||||
if gc_contact.jid:
|
||||
# Don't use real jid if room is (semi-)anonymous
|
||||
gc_control = gajim.interface.msg_win_mgr.get_gc_control(
|
||||
gc_contact.room_jid, account)
|
||||
if gc_contact.jid and not gc_control.is_anonymous:
|
||||
self.real_jid = gc_contact.jid
|
||||
if gc_contact.resource:
|
||||
self.real_jid += '/' + gc_contact.resource
|
||||
|
|
Loading…
Reference in New Issue