nicolium: fix for multiple appearances of the same reblog

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-05 13:48:46 +01:00
parent 681285e42d
commit f90e11dbc4

View File

@ -82,7 +82,10 @@ const processPage = (statuses: Array<Status>, hasMore: boolean): Array<TimelineE
);
if (existingEntry?.type === 'status') {
existingEntry.rebloggedBy.push(status.account.id);
// entry connection stuff might happen to call processStatus on the same status multiple times
if (!existingEntry.rebloggedBy.includes(status.account.id)) {
existingEntry.rebloggedBy.push(status.account.id);
}
} else {
timelinePage.push({
type: 'status',