Skip to content

Commit

Permalink
Don't change replyId on correction
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma committed Nov 27, 2024
1 parent 2a6a8b1 commit 4264030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snikket/persistence/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ const browser = (dbname, tokenize, stemmer) => {
head.serverIdBy = result.value.serverIdBy;
head.serverId = result.value.serverId;
head.localId = result.value.localId;
head.replyId = result.value.replyId;
head.timestamp = result.value.timestamp; // Edited version is not newer
head.versions = versions;
head.reactions = result.value.reactions; // Preserve these, edit doesn't touch them
Expand Down

0 comments on commit 4264030

Please sign in to comment.