From 478efa8bf9793bde3bd738e00af0b63a50050074 Mon Sep 17 00:00:00 2001 From: Z Date: Tue, 14 Jul 2020 13:33:10 +0800 Subject: [PATCH] fix bug --- app/javascript/mastodon/actions/timelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js index cdd7eec33f..f5db65feb6 100644 --- a/app/javascript/mastodon/actions/timelines.js +++ b/app/javascript/mastodon/actions/timelines.js @@ -104,7 +104,7 @@ export function expandTimeline(timelineId, path, params = {}, done = noOp) { dispatch(importFetchedStatuses(response.data)); dispatch(expandTimelineSuccess(timelineId, response.data, next ? next.uri : null, response.status === 206, isLoadingRecent, isLoadingMore, isLoadingRecent && preferPendingItems)); response.data.forEach(status => { - dispatch(fetchContext(status.id)); + dispatch(fetchContext(status.reblog ? status.reblog.id : status.id)); }); if (timelineId === 'home') {