Skip to content

Commit

Permalink
[FIX] session: ignore already processed SNAPSHOT_CREATED
Browse files Browse the repository at this point in the history
closes #5078

Task: 4243943
X-original-commit: e4ccfca
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
  • Loading branch information
pro-odoo committed Oct 11, 2024
1 parent 6cc0b14 commit 57905b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collaborative/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ export class Session extends EventBus<CollaborativeEvent> {
case "REMOTE_REVISION":
case "REVISION_REDONE":
case "REVISION_UNDONE":
case "SNAPSHOT_CREATED":
return this.processedRevisions.has(message.nextRevisionId);
default:
return false;
Expand Down

0 comments on commit 57905b5

Please sign in to comment.