aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_add_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_add_comment.go')
-rw-r--r--bug/op_add_comment.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go
index c1e0838b..8cde20e8 100644
--- a/bug/op_add_comment.go
+++ b/bug/op_add_comment.go
@@ -29,6 +29,9 @@ func (op *AddCommentOperation) Hash() (git.Hash, error) {
}
func (op *AddCommentOperation) Apply(snapshot *Snapshot) {
+ snapshot.addActor(op.Author)
+ snapshot.addParticipant(op.Author)
+
hash, err := op.Hash()
if err != nil {
// Should never error unless a programming error happened