Deprecate storageServiceKey in SyncMessage.Keys
This commit is contained in:
parent
37b3a6de4b
commit
d7b53f3d27
8 changed files with 62 additions and 26 deletions
|
@ -3292,12 +3292,15 @@ export default class MessageReceiver
|
|||
|
||||
logUnexpectedUrgentValue(envelope, 'keySync');
|
||||
|
||||
if (!sync.storageService) {
|
||||
if (!sync.storageService && !sync.master) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const ev = new KeysEvent(
|
||||
sync.storageService,
|
||||
{
|
||||
storageServiceKey: dropNull(sync.storageService),
|
||||
masterKey: dropNull(sync.master),
|
||||
},
|
||||
this.removeFromCache.bind(this, envelope)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue