nicolium: timeline grouping fix

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-07 17:48:04 +01:00
parent 9415ad35d7
commit f94c2b7d85

View File

@ -73,7 +73,11 @@ const processPage = (statuses: Array<Status>): Array<TimelineEntry> => {
const timelinePage: Array<TimelineEntry> = [];
const processStatus = (status: Status): boolean => {
if (timelinePage.some((entry) => entry.type === 'status' && entry.id === status.id))
if (
timelinePage.some(
(entry) => entry.type === 'status' && entry.id === (status.reblog || status).id,
)
)
return false;
let isConnectedTop = false;