Deprecate Keys.storageService sync field
This commit is contained in:
parent
8772880ca1
commit
fbf39a36fb
4 changed files with 5 additions and 26 deletions
|
@ -3363,15 +3363,8 @@ export default class MessageReceiver
|
|||
|
||||
logUnexpectedUrgentValue(envelope, 'keySync');
|
||||
|
||||
if (!sync.storageService && !sync.master) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const ev = new KeysEvent(
|
||||
{
|
||||
storageServiceKey: Bytes.isNotEmpty(sync.storageService)
|
||||
? sync.storageService
|
||||
: undefined,
|
||||
masterKey: Bytes.isNotEmpty(sync.master) ? sync.master : undefined,
|
||||
accountEntropyPool: sync.accountEntropyPool || undefined,
|
||||
mediaRootBackupKey: Bytes.isNotEmpty(sync.mediaRootBackupKey)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue