summaryrefslogtreecommitdiffstatshomepage
path: root/bug/op_edit_comment.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-04-05 00:25:22 +0200
committerGitHub <noreply@github.com>2019-04-05 00:25:22 +0200
commitb9e413c5f95212a0076aae0f473226b32b5fc77a (patch)
treebe6cf69aad498216fa86058b71e2df9a31ebfbd6 /bug/op_edit_comment.go
parent5b0a92dea43f467f31a65a6f02e937d285cb0a71 (diff)
parent57f0c2f25da3316efbff63f7f8dc73df20705320 (diff)
downloadgit-bug-b9e413c5f95212a0076aae0f473226b32b5fc77a.tar.gz
git-bug-b9e413c5f95212a0076aae0f473226b32b5fc77a.zip
Merge pull request #117 from A-Hilaly/bug-participants
Implement participants and actors functionalities
Diffstat (limited to 'bug/op_edit_comment.go')
-rw-r--r--bug/op_edit_comment.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/op_edit_comment.go b/bug/op_edit_comment.go
index 5a223e01a..cf5c2d51a 100644
--- a/bug/op_edit_comment.go
+++ b/bug/op_edit_comment.go
@@ -33,6 +33,8 @@ func (op *EditCommentOperation) Apply(snapshot *Snapshot) {
// Todo: currently any message can be edited, even by a different author
// crypto signature are needed.
+ snapshot.addActor(op.Author)
+
var target TimelineItem
var commentIndex int