From 98f9525a436b37f69dd8c7c0efdb632d07489d52 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 26 Apr 2006 08:11:16 +0000 Subject: [PATCH] prevent TB when we get a conference vcard. Fixes #1887 --- 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 978d2b6bc..8e198d3de 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -781,7 +781,7 @@ class ConnectionVcard: jid, nick = gajim.get_room_and_nick_from_fjid(full_jid) puny_jid = helpers.sanitize_filename(jid) path = os.path.join(gajim.VCARD_PATH, puny_jid) - if jid in self.room_jids: + if jid in self.room_jids or os.path.isdir(path): # remove room_jid file if needed if os.path.isfile(path): os.remove(path)