fixed vcard receive from private chat

This commit is contained in:
Denis Fomin 2010-12-08 19:17:36 +03:00
parent be01ac0198
commit f068d47f19
1 changed files with 0 additions and 11 deletions

View File

@ -238,17 +238,6 @@ class VcardWindow:
self.test_remove_progressbar() self.test_remove_progressbar()
def _nec_vcard_received(self, obj): def _nec_vcard_received(self, obj):
if obj.conn.name != self.account:
return
if obj.resource:
# It's a muc occupant vcard
if obj.jid != self.gc_contact.room_jid:
return
if obj.resource != self.gc_contact.name:
return
else:
if obj.jid != self.contact.jid:
return
self.set_values(obj.vcard_dict) self.set_values(obj.vcard_dict)
def test_remove_progressbar(self): def test_remove_progressbar(self):