passepartoutvpn / passepartout

Your go-to app for VPN and privacy.
https://passepartoutvpn.app
GNU General Public License v3.0
855 stars 129 forks source link

Fix shared profile not updated on provider server selection #906

Closed keeshux closed 4 days ago

keeshux commented 4 days ago

First, rename force parameter of ProfileManager.save() to isLocal, because it's meant to be used when saving local profiles. In such scenario, a profile that is also remotely shared must be re-saved to the remote repository.

This was not being done when selecting a provider server, and it could be noticed because the other devices would only receive the iCloud update after editing the profile and re-doing a manual "Save". Only at that point would the new profile be re-shared on iCloud.