Skip to content

Commit

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

Task: 4243943
Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
  • Loading branch information
pro-odoo committed Oct 11, 2024
1 parent 917a403 commit e4ccfca
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 @@ -389,6 +389,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 e4ccfca

Please sign in to comment.