From 0bd166367cb3e4c5419d825a30b1679043c7ec82 Mon Sep 17 00:00:00 2001 From: BPower0036 <80090789+BPower0036@users.noreply.github.com> Date: Mon, 5 Dec 2022 08:56:22 +0000 Subject: [PATCH] Revert "Excluding containers from sync with RegExp" https://github.com/mozilla/multi-account-containers/commit/8e7d9f7574fd4834b72d217fb3f63c697cd46b72 --- src/js/background/sync.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/js/background/sync.js b/src/js/background/sync.js index fc6d875..6dfb629 100644 --- a/src/js/background/sync.js +++ b/src/js/background/sync.js @@ -128,16 +128,9 @@ const sync = { await sync.checkForListenersMaybeAdd(); async function updateSyncIdentities() { - const { syncExcludeRegExp } = await browser.storage.local.get("syncExcludeRegExp"); - const excludeRegExp = new RegExp(syncExcludeRegExp, "i"); const identities = await browser.contextualIdentities.query({}); for (const identity of identities) { - // skip excluded identities - if (identity.name.match(excludeRegExp)) { - continue; - } - delete identity.colorCode; delete identity.iconUrl; identity.macAddonUUID = await identityState.lookupMACaddonUUID(identity.cookieStoreId);