Skip to content

Commit

Permalink
Mark picked posting as not deleted after new revision arrives.
Browse files Browse the repository at this point in the history
  • Loading branch information
smelamud committed Aug 13, 2023
1 parent ec60311 commit 4b7374a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/moera/node/model/PostingInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ public void toPickedPosting(Posting posting) {
}
posting.setReceiverCreatedAt(Util.toTimestamp(isOriginal() ? createdAt : receiverCreatedAt));
posting.setReceiverEditedAt(Util.toTimestamp(isOriginal() ? editedAt : receiverEditedAt));
posting.setReceiverDeletedAt(null);
posting.setAcceptedReactionsPositive(acceptedReactions.getPositive());
posting.setAcceptedReactionsNegative(acceptedReactions.getNegative());
posting.setTotalChildren(totalComments);
Expand Down

0 comments on commit 4b7374a

Please sign in to comment.