mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add SPQR to capabilities upload.
This commit is contained in:
@@ -1875,6 +1875,7 @@ export async function startApp(): Promise<void> {
|
||||
try {
|
||||
await server.registerCapabilities({
|
||||
attachmentBackfill: true,
|
||||
spqr: true,
|
||||
});
|
||||
} catch (error) {
|
||||
log.error(
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user