chore: upgrade snjs
This commit is contained in:
@@ -39,7 +39,7 @@ export class ArchiveManager {
|
||||
|
||||
public async downloadBackup(encrypted: boolean): Promise<void> {
|
||||
const data = encrypted
|
||||
? await this.application.createEncryptedBackupFile(true)
|
||||
? await this.application.createEncryptedBackupFile()
|
||||
: await this.application.createDecryptedBackupFile()
|
||||
|
||||
if (!data) {
|
||||
|
||||
@@ -149,7 +149,7 @@ export class DesktopManager
|
||||
async desktop_requestBackupFile(): Promise<string | undefined> {
|
||||
const encrypted = this.application.hasProtectionSources()
|
||||
const data = encrypted
|
||||
? await this.application.createEncryptedBackupFile(false)
|
||||
? await this.application.createEncryptedBackupFileForAutomatedDesktopBackups()
|
||||
: await this.application.createDecryptedBackupFile()
|
||||
|
||||
if (data) {
|
||||
|
||||
Reference in New Issue
Block a user