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