Sender Key: Hardcode senderKey to true, during link and thereafter
This commit is contained in:
@@ -2349,9 +2349,7 @@ export async function startApp(): Promise<void> {
|
|||||||
announcementGroup: true,
|
announcementGroup: true,
|
||||||
'gv2-3': true,
|
'gv2-3': true,
|
||||||
'gv1-migration': true,
|
'gv1-migration': true,
|
||||||
senderKey: window.Signal.RemoteConfig.isEnabled(
|
senderKey: true,
|
||||||
'desktop.sendSenderKey2'
|
|
||||||
),
|
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
window.log.error(
|
window.log.error(
|
||||||
|
@@ -1752,8 +1752,9 @@ export default class MessageReceiver
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
window.log.error(
|
window.log.error(
|
||||||
`maybeUpdateTimestamp/${timestamp}: Failed to process sender key ` +
|
`maybeUpdateTimestamp/${timestamp}: Failed to process message: ${Errors.toLogFormat(
|
||||||
`distribution message: ${Errors.toLogFormat(error)}`
|
error
|
||||||
|
)}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -764,10 +764,10 @@ export type CapabilitiesType = {
|
|||||||
senderKey: boolean;
|
senderKey: boolean;
|
||||||
};
|
};
|
||||||
export type CapabilitiesUploadType = {
|
export type CapabilitiesUploadType = {
|
||||||
announcementGroup: boolean;
|
announcementGroup: true;
|
||||||
'gv2-3': boolean;
|
'gv2-3': true;
|
||||||
'gv1-migration': boolean;
|
'gv1-migration': true;
|
||||||
senderKey: boolean;
|
senderKey: true;
|
||||||
};
|
};
|
||||||
|
|
||||||
type StickerPackManifestType = any;
|
type StickerPackManifestType = any;
|
||||||
@@ -1494,7 +1494,7 @@ export function initialize({
|
|||||||
announcementGroup: true,
|
announcementGroup: true,
|
||||||
'gv2-3': true,
|
'gv2-3': true,
|
||||||
'gv1-migration': true,
|
'gv1-migration': true,
|
||||||
senderKey: false,
|
senderKey: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
const { accessKey, uuid } = options;
|
const { accessKey, uuid } = options;
|
||||||
|
Reference in New Issue
Block a user