fix: post modified in the recycle will be restored (#1820)

pull/1824/head^2
guqing 2022-04-06 16:10:46 +08:00 committed by GitHub
parent 63e8cd0cd5
commit 8591a1ecbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public class PostRefreshStatusListener {
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())) {