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

fixed vcard receive from private chat

parent be01ac01
No related branches found
No related tags found
No related merge requests found
......@@ -238,17 +238,6 @@ class VcardWindow:
self.test_remove_progressbar()
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)
def test_remove_progressbar(self):
......
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