From 8522d1bd2259e2f067694ba0e80d60a815e42b48 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 30 Nov 2005 13:59:16 +0000 Subject: [PATCH] try to fix a MAJOR TB. maybe simple dispatch jid should be stripped too. I dont know. Yann? --- src/common/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/connection.py b/src/common/connection.py index c89da7423..55aeed2c4 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1432,6 +1432,7 @@ class Connection: our_jid = gajim.get_jid_from_account(self.name) if jid and jid != our_jid: self.dispatch('VCARD', {'jid': jid}) + jid = gajim.get_jid_without_resource(jid) # Write an empty file path_to_file = os.path.join(gajim.VCARDPATH, jid) fil = open(path_to_file, 'w')