try to fix a MAJOR TB. maybe simple dispatch jid should be stripped too. I dont know. Yann?

This commit is contained in:
Nikos Kouremenos 2005-11-30 13:59:16 +00:00
parent a7b49ffcfb
commit 8522d1bd22
1 changed files with 1 additions and 0 deletions

View File

@ -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')