Merge branch 'users-statuses-pinia' into weight-removal

This commit is contained in:
Henry Jameson 2026-09-01 17:05:53 +03:00
commit 0b8ca8aeb0
22 changed files with 126 additions and 83 deletions

View file

@ -385,10 +385,13 @@ export const parseLinkHeaderPagination = (linkHeader, opts = {}) => {
const maxId = parsedLinkHeader.next?.max_id
const minId = parsedLinkHeader.prev?.min_id
return {
maxId: flakeId ? maxId : Number.parseInt(maxId, 10),
minId: flakeId ? minId : Number.parseInt(minId, 10),
}
const result = {}
if (maxId !== undefined)
result.maxId = flakeId ? maxId : Number.parseInt(maxId, 10)
if (minId !== undefined)
result.minId = flakeId ? minId : Number.parseInt(minId, 10)
return result
}
export const parseChat = (chat) => {