Skip to content

Commit

Permalink
fix: post modified in the recycle will be restored (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing authored Apr 6, 2022
1 parent 63e8cd0 commit 8591a1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void postUpdatedListener(PostUpdatedEvent event) {
status = PostStatus.INTIMATE;
} else if (isPrivate) {
status = PostStatus.INTIMATE;
} else {
} else if (!PostStatus.RECYCLE.equals(status)) {
status = PostStatus.PUBLISHED;
}
} else if (!isPrivate && StringUtils.isBlank(post.getPassword())) {
Expand Down

0 comments on commit 8591a1e

Please sign in to comment.