summaryrefslogtreecommitdiffstats
path: root/models/issue_comment.go
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-02-18 21:55:04 +0100
committerLauris BH <lauris@nix.lv>2019-02-18 22:55:04 +0200
commit44114b38e601c8bf44f575daef1d0e0597f37d1d (patch)
treed2d271b31bff505a09c2faf04d5fea69a9f9d58c /models/issue_comment.go
parent64ce159a6eacc81962d07a8f5ef7f69c17365363 (diff)
downloadgitea-44114b38e601c8bf44f575daef1d0e0597f37d1d.tar.gz
gitea-44114b38e601c8bf44f575daef1d0e0597f37d1d.zip
Implement "conversation lock" for issue comments (#5073)
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r--models/issue_comment.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go
index 05756c6cf2..1b02918cb7 100644
--- a/models/issue_comment.go
+++ b/models/issue_comment.go
@@ -80,6 +80,10 @@ const (
CommentTypeCode
// Reviews a pull request by giving general feedback
CommentTypeReview
+ // Lock an issue, giving only collaborators access
+ CommentTypeLock
+ // Unlocks a previously locked issue
+ CommentTypeUnlock
)
// CommentTag defines comment tag type