aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_edit_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_edit_comment.go')
-rw-r--r--bug/op_edit_comment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/op_edit_comment.go b/bug/op_edit_comment.go
index cf5c2d51..49b6a1af 100644
--- a/bug/op_edit_comment.go
+++ b/bug/op_edit_comment.go
@@ -48,7 +48,7 @@ func (op *EditCommentOperation) Apply(snapshot *Snapshot) {
// Track the index in the []Comment
switch item.(type) {
- case *CreateTimelineItem, *CommentTimelineItem:
+ case *CreateTimelineItem, *AddCommentTimelineItem:
commentIndex++
}
}