mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-04-06 17:15:19 +00:00
Fixed
- Remote configuration URIs are now correctly encrypted when saved after editing in the settings dialogue. - Fixed an issue where devices could no longer upload after another device performed 'Fresh Start Wipe' and 'Overwrite remote' in Object Storage mode (#848).
This commit is contained in:
2
src/lib
2
src/lib
Submodule src/lib updated: 963a21f1d2...d97288da2b
@@ -254,7 +254,7 @@ export function paneRemoteConfig(
|
||||
id,
|
||||
name: name.trim() || "New Remote",
|
||||
uri: serializeRemoteConfiguration(nextSettings),
|
||||
isEncrypted: nextSettings.encrypt,
|
||||
isEncrypted: false,
|
||||
};
|
||||
this.editingSettings.remoteConfigurations = configs;
|
||||
if (!this.editingSettings.activeConfigurationId) {
|
||||
@@ -361,7 +361,7 @@ export function paneRemoteConfig(
|
||||
nextConfigs[config.id] = {
|
||||
...config,
|
||||
uri: serializeRemoteConfiguration(nextSettings),
|
||||
isEncrypted: nextSettings.encrypt,
|
||||
isEncrypted: false,
|
||||
};
|
||||
this.editingSettings.remoteConfigurations = nextConfigs;
|
||||
await persistRemoteConfigurations(config.id === this.editingSettings.activeConfigurationId);
|
||||
|
||||
Reference in New Issue
Block a user