Author: asterix Date: 2008-07-11 08:21:19 +0200 (Fri, 11 Jul 2008) New Revision: 9905
Modified: trunk/src/vcard.py Log: 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
Modified: trunk/src/vcard.py =================================================================== --- trunk/src/vcard.py 2008-07-10 12:18:26 UTC (rev 9904) +++ trunk/src/vcard.py 2008-07-11 06:21:19 UTC (rev 9905) @@ -77,7 +77,10 @@
# 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