Add SPQR to capabilities upload.

This commit is contained in:
gram-signal 2025-08-20 11:28:12 -07:00 committed by GitHub
commit 8ab0014ab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -853,6 +853,7 @@ export type CapabilitiesType = {
};
export type CapabilitiesUploadType = {
attachmentBackfill: true;
spqr: true;
};
type StickerPackManifestType = Uint8Array;
@ -3220,6 +3221,7 @@ export function initialize({
const capabilities: CapabilitiesUploadType = {
attachmentBackfill: true,
spqr: true,
};
// Desktop doesn't support recovery but we need to provide a recovery password.
@ -3284,6 +3286,7 @@ export function initialize({
}: LinkDeviceOptionsType) {
const capabilities: CapabilitiesUploadType = {
attachmentBackfill: true,
spqr: true,
};
const jsonData = {