Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): fix awareness send message repeatedly (#10643)

EYHNfb084a956905
diff --git a/packages/common/nbstore/src/frontend/awareness.ts b/packages/common/nbstore/src/frontend/awareness.ts
index 0badfa2991..e75515420f 100644
--- a/packages/common/nbstore/src/frontend/awareness.ts
+++ b/packages/common/nbstore/src/frontend/awareness.ts
@@ -47,7 +47,7 @@ export class AwarenessFrontend {
return;
}
- applyAwarenessUpdate(awareness, update.bin, origin);
+ applyAwarenessUpdate(awareness, update.bin, uniqueId);
};
const handleSyncCollect = () => {
return Promise.resolve({