Skip to content
Snippets Groups Projects
Commit d5ce21e3 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

jamiaccount: try hard linking first when linking to VCard

For an account's VCard, we store the actual VCard file in the account's
profile directory, alongside other contact profile files, and a link is
created in the account's directory to the VCard file that is named using
the base64-encoded account URI. This method will fail on Windows where
users can not create soft links.

When linking to this VCard file, we first try to hard link to it. If
that fails, we fall back to symlinking to it. This allows the new
profile linking mechanism to work on Windows, and we are fairly
confident that the `profiles` sub dir will not be on a different
filesystem.

jami-client-qt#1899
Change-Id: I3be8150b02f8427c164beb6c652f96d895aab048
parent c3f07d73
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment