Log selfie-related events at launch time

This commit is contained in:
Raymond Hill 2021-12-04 10:55:33 -05:00
parent 1becd8ad18
commit ccc4c7d41f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 0 deletions

View File

@ -248,9 +248,11 @@ const onCacheSettingsReady = async function(fetched) {
if ( fetched.compiledMagic !== µb.systemSettings.compiledMagic ) { if ( fetched.compiledMagic !== µb.systemSettings.compiledMagic ) {
µb.compiledFormatChanged = true; µb.compiledFormatChanged = true;
µb.selfieIsInvalid = true; µb.selfieIsInvalid = true;
ubolog(`Serialized format of static filter lists changed`);
} }
if ( fetched.selfieMagic !== µb.systemSettings.selfieMagic ) { if ( fetched.selfieMagic !== µb.systemSettings.selfieMagic ) {
µb.selfieIsInvalid = true; µb.selfieIsInvalid = true;
ubolog(`Serialized format of selfie changed`);
} }
if ( µb.selfieIsInvalid ) { if ( µb.selfieIsInvalid ) {
µb.selfieManager.destroy(); µb.selfieManager.destroy();