Remove obsolete capabilities, improve routine profile fetch
This commit is contained in:
parent
4ba3a7856c
commit
3299b8f323
11 changed files with 147 additions and 212 deletions
|
@ -246,17 +246,10 @@ export async function onDecryptionError(
|
|||
senderUuid,
|
||||
'private'
|
||||
);
|
||||
if (!conversation.get('capabilities')?.senderKey) {
|
||||
await conversation.getProfiles();
|
||||
}
|
||||
|
||||
const name = conversation.getTitle();
|
||||
maybeShowDecryptionToast(logId, name, senderDevice);
|
||||
|
||||
if (
|
||||
conversation.get('capabilities')?.senderKey &&
|
||||
RemoteConfig.isEnabled('desktop.senderKey.retry')
|
||||
) {
|
||||
if (RemoteConfig.isEnabled('desktop.senderKey.retry')) {
|
||||
await requestResend(decryptionError);
|
||||
} else {
|
||||
await startAutomaticSessionReset(decryptionError);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue