mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix(nbstore): fix v1 doc storage timestamp (#10282)
This commit is contained in:
@@ -199,7 +199,8 @@ export class DocSyncPeer {
|
||||
throwIfAborted(signal);
|
||||
if (
|
||||
!this.remote.isReadonly &&
|
||||
(pushedClock === null || pushedClock !== clock?.timestamp)
|
||||
clock &&
|
||||
(pushedClock === null || pushedClock !== clock.timestamp)
|
||||
) {
|
||||
await this.jobs.pullAndPush(docId, signal);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user