From b04d6aea63e020e409323fb1c6636f5cfbfe8dd4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 9 Apr 2008 21:30:12 +0000 Subject: [PATCH] correctly detect vcard error from groupchat participants (with fake jid) --- src/common/connection_handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index c98f85deb..0011405d2 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1080,7 +1080,8 @@ class ConnectionVcard: if frm and frm != our_jid: # Write an empty file self.save_vcard_to_hd(frm, '') - self.dispatch('VCARD', {'jid': frm}) + jid, resource = gajim.get_room_and_nick_from_fjid(frm) + self.dispatch('VCARD', {'jid': jid, 'resource': resource}) elif frm == our_jid: self.dispatch('MYVCARD', {'jid': frm}) elif self.awaiting_answers[id][0] == AGENT_REMOVED: