diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index 152bdacfed0cf87182774f8b7bc05ca4ab3bfa1f..342a0553916e20dd31b73b246c131dd418ba124e 100644 --- a/cache/bug_excerpt.go +++ b/cache/bug_excerpt.go @@ -59,16 +59,12 @@ func (l LegacyAuthorExcerpt) DisplayName() string { func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt { participantsIds := make([]entity.Id, 0, len(snap.Participants)) for _, participant := range snap.Participants { - if _, ok := participant.(*identity.Identity); ok { - participantsIds = append(participantsIds, participant.Id()) - } + participantsIds = append(participantsIds, participant.Id()) } actorsIds := make([]entity.Id, 0, len(snap.Actors)) for _, actor := range snap.Actors { - if _, ok := actor.(*identity.Identity); ok { - actorsIds = append(actorsIds, actor.Id()) - } + actorsIds = append(actorsIds, actor.Id()) } e := &BugExcerpt{