diff options
author | Michael Muré <batolettre@gmail.com> | 2022-11-13 12:31:38 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-11-13 12:31:38 +0100 |
commit | 3c6ebc2bfd50b72ff786a2cfd3bbdeb15b478dd3 (patch) | |
tree | 8cf4307bf48f016e0f8728c311bcc53ce38432e3 /entities/bug/op_set_title.go | |
parent | 55a2e8e4485fe63fbda759540958c7190dfeb85c (diff) | |
download | git-bug-3c6ebc2bfd50b72ff786a2cfd3bbdeb15b478dd3.tar.gz |
core: bubble up the comment ID when created, or edited the first comment
Diffstat (limited to 'entities/bug/op_set_title.go')
-rw-r--r-- | entities/bug/op_set_title.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/entities/bug/op_set_title.go b/entities/bug/op_set_title.go index e9526b64..6e445aa6 100644 --- a/entities/bug/op_set_title.go +++ b/entities/bug/op_set_title.go @@ -30,7 +30,6 @@ func (op *SetTitleOperation) Apply(snapshot *Snapshot) { id := op.Id() item := &SetTitleTimelineItem{ - id: id, combinedId: entity.CombineIds(snapshot.Id(), id), Author: op.Author(), UnixTime: timestamp.Timestamp(op.UnixTime), @@ -70,7 +69,6 @@ func NewSetTitleOp(author identity.Interface, unixTime int64, title string, was } type SetTitleTimelineItem struct { - id entity.Id combinedId entity.CombinedId Author identity.Interface UnixTime timestamp.Timestamp @@ -78,10 +76,6 @@ type SetTitleTimelineItem struct { Was string } -func (s SetTitleTimelineItem) Id() entity.Id { - return s.id -} - func (s SetTitleTimelineItem) CombinedId() entity.CombinedId { return s.combinedId } |