diff options
author | 2023-10-04 13:09:42 +0100 | |
---|---|---|
committer | 2023-10-04 13:09:42 +0100 | |
commit | c6e00afc7c23df994b70eee89d2d392718e6a321 (patch) | |
tree | cee98c1a78e36ba6a0e8183afa0b2796765fe7f6 /internal/timeline/indexeditems.go | |
parent | [chore] internal/ap: add pollable AS types, code reformatting, general niceti... (diff) | |
download | gotosocial-c6e00afc7c23df994b70eee89d2d392718e6a321.tar.xz |
[feature] tentatively start adding polls support (#2249)
Diffstat (limited to 'internal/timeline/indexeditems.go')
-rw-r--r-- | internal/timeline/indexeditems.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/timeline/indexeditems.go b/internal/timeline/indexeditems.go index c2c7a19b6..9b75e7256 100644 --- a/internal/timeline/indexeditems.go +++ b/internal/timeline/indexeditems.go @@ -65,7 +65,7 @@ func (i *indexedItems) insertIndexed(ctx context.Context, newEntry *indexedItems for e := i.data.Front(); e != nil; e = e.Next() { currentPosition++ - currentEntry := e.Value.(*indexedItemsEntry) //nolint:forcetypeassert + currentEntry := e.Value.(*indexedItemsEntry) // Check if we need to skip inserting this item based on // the current item. |