Skip to content

Commit

Permalink
Reset server invalidation property
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert committed Apr 18, 2024
1 parent dcc416e commit dd7b619
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blocks/edit/prose/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ export function handleYDocUpdates({
const svrUpdate = ydoc.getMap('aem').get(serverInvKey);
if (svrUpdate) {
// push update from the server: re-init document
ydoc.getMap('aem').delete(serverInvKey);

delete daTitle.collabStatus;
delete daTitle.collabUsers;
ydoc.destroy();
Expand Down

0 comments on commit dd7b619

Please sign in to comment.