mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Implement "conversation lock" for issue comments (#5073)
This commit is contained in:
@@ -57,6 +57,10 @@ type Issue struct {
|
||||
Reactions ReactionList `xorm:"-"`
|
||||
TotalTrackedTime int64 `xorm:"-"`
|
||||
Assignees []*User `xorm:"-"`
|
||||
|
||||
// IsLocked limits commenting abilities to users on an issue
|
||||
// with write access
|
||||
IsLocked bool `xorm:"NOT NULL DEFAULT false"`
|
||||
}
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user