【光环助手V5.1.0】新社区运营验收问题(11) https://git.ghzs.com/pm/halo-app-issues/-/issues/1442

This commit is contained in:
jack
2021-08-18 18:54:56 +08:00
parent c4fc31c963
commit b1fef73c54

View File

@ -122,7 +122,7 @@ object CommentHelper {
val context = view.context
val dialogOptions = ArrayList<String>()
if (isShowTop && (articleId != null || questionId != null) && (commentEntity.me?.isModerator == true || commentEntity.me?.isContentAuthor == true)) {
if (isShowTop && (articleId != null || questionId != null) && commentEntity.me?.isContentAuthor == true) {
dialogOptions.add(if (commentEntity.isTop) "取消置顶" else "置顶")
}
if (questionId != null && commentEntity.me?.isContentAuthor == true) {