Advertise both link and sync capabilities

This commit is contained in:
trevor-signal 2025-01-23 17:03:23 -05:00 committed by GitHub
parent fb8c46fde1
commit 197660a966
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -422,7 +422,9 @@ export class Provisioner {
.toAppUrl({
uuid,
pubKey: Bytes.toBase64(cipher.getPublicKey()),
capabilities: isLinkAndSyncEnabled(this.#appVersion) ? ['backup'] : [],
capabilities: isLinkAndSyncEnabled(this.#appVersion)
? ['backup', 'backup2']
: [],
})
.toString();