try to fix a MAJOR TB. maybe simple dispatch jid should be stripped too. I dont know. Yann?
This commit is contained in:
parent
a7b49ffcfb
commit
8522d1bd22
|
@ -1432,6 +1432,7 @@ class Connection:
|
||||||
our_jid = gajim.get_jid_from_account(self.name)
|
our_jid = gajim.get_jid_from_account(self.name)
|
||||||
if jid and jid != our_jid:
|
if jid and jid != our_jid:
|
||||||
self.dispatch('VCARD', {'jid': jid})
|
self.dispatch('VCARD', {'jid': jid})
|
||||||
|
jid = gajim.get_jid_without_resource(jid)
|
||||||
# Write an empty file
|
# Write an empty file
|
||||||
path_to_file = os.path.join(gajim.VCARDPATH, jid)
|
path_to_file = os.path.join(gajim.VCARDPATH, jid)
|
||||||
fil = open(path_to_file, 'w')
|
fil = open(path_to_file, 'w')
|
||||||
|
|
Loading…
Reference in New Issue