We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c300ec4 commit 5d556c5Copy full SHA for 5d556c5
packages/loro-adaptors/src/loro-adaptor.ts
@@ -133,7 +133,9 @@ export class LoroAdaptor implements CrdtDocAdaptor {
133
}
134
135
if (this.initServerVersion && !this.hasReachedServerVersion) {
136
- const comparison = this.doc.version().compare(this.initServerVersion);
+ const comparison = this.doc
137
+ .oplogVersion()
138
+ .compare(this.initServerVersion);
139
if (comparison != null && comparison >= 0) {
140
this.reachServerVersionPromise.resolve();
141
0 commit comments