diff --git a/js-pkg/client/src/provider.ts b/js-pkg/client/src/provider.ts index a0c827aa..4d0fff00 100644 --- a/js-pkg/client/src/provider.ts +++ b/js-pkg/client/src/provider.ts @@ -302,7 +302,7 @@ export class YSweetProvider { return } - if (this.indexedDBProvider && origin !== this.indexedDBProvider) { + if (this.indexedDBProvider && origin === this.indexedDBProvider) { // Ignore updates from our own IndexedDB provider. return }