nicolium: timeline grouping fix
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user