Revert "Excluding containers from sync with RegExp"
This reverts commit bf31fa9196.
This commit is contained in:
@@ -27,7 +27,6 @@ const backgroundLogic = {
|
||||
|
||||
browser.permissions.onAdded.addListener(permissions => this.resetPermissions(permissions));
|
||||
browser.permissions.onRemoved.addListener(permissions => this.resetPermissions(permissions));
|
||||
backgroundLogic.setSyncExclusion();
|
||||
},
|
||||
|
||||
resetPermissions(permissions) {
|
||||
@@ -400,17 +399,6 @@ const backgroundLogic = {
|
||||
cookieStoreId(userContextId) {
|
||||
if(userContextId === 0) return "firefox-default";
|
||||
return `firefox-container-${userContextId}`;
|
||||
},
|
||||
|
||||
async setSyncExclusion() {
|
||||
// Default container sync exclude regexp to "^tmp\d+$" to prevent
|
||||
// https://github.com/mozilla/multi-account-containers/issues/1675
|
||||
// https://github.com/stoically/temporary-containers/issues/371
|
||||
// for future users of the MAC + TC combination.
|
||||
const { syncExcludeRegExp } = await browser.storage.local.get("syncExcludeRegExp");
|
||||
if (syncExcludeRegExp === undefined) {
|
||||
browser.storage.local.set({syncExcludeRegExp: "^tmp\\d+$"});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user