From 4d70aa91e76bc5f6e518e2bdf064fd018e85ff8e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 22 Nov 2015 15:14:07 +0100 Subject: [PATCH] do not loop requesting vcard when opening a chat window with ourself and we don't have a vcard stored on server --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 867b8f726..c56f7c225 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -510,7 +510,7 @@ class ConnectionVcard: if id_ in self.groupchat_jids: frm = self.groupchat_jids[id_] del self.groupchat_jids[id_] - if frm and frm != our_jid: + if frm: # Write an empty file self._save_vcard_to_hd(frm, '') jid, resource = gajim.get_room_and_nick_from_fjid(frm)