Advertise both link and sync capabilities

Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2025-01-28 15:15:44 -06:00 committed by GitHub
parent 86c57aeffb
commit 3b11533a98
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();