Mm 16623 fix all initialism errors in channels/app and channels/api4 and /store dir (#25787)

Этот коммит содержится в:
Matthew Straughn
2024-01-22 08:35:16 -05:00
коммит произвёл GitHub
родитель 2415438d88
Коммит ae33de57ff
22 изменённых файлов: 117 добавлений и 117 удалений

Просмотреть файл

@@ -94,15 +94,15 @@ func linearFilterPostList(postList *model.PostList, earliestAccessibleTime int64
order := postList.Order
n := 0
for i, postId := range order {
if createAt := posts[postId].CreateAt; createAt >= earliestAccessibleTime {
for i, postID := range order {
if createAt := posts[postID].CreateAt; createAt >= earliestAccessibleTime {
order[n] = order[i]
n++
} else {
if createAt > postList.FirstInaccessiblePostTime {
postList.FirstInaccessiblePostTime = createAt
}
delete(posts, postId)
delete(posts, postID)
}
}
postList.Order = order[:n]