Add SPQR to capabilities upload.

This commit is contained in:
gram-signal
2025-08-20 11:28:12 -07:00
committed by GitHub
parent 2a53922300
commit 8ab0014ab2
2 changed files with 4 additions and 0 deletions

View File

@@ -1875,6 +1875,7 @@ export async function startApp(): Promise<void> {
try {
await server.registerCapabilities({
attachmentBackfill: true,
spqr: true,
});
} catch (error) {
log.error(

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 = {