Browse Source

fix bug

pull/4/head
欧醚 4 years ago
parent
commit
478efa8bf9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/actions/timelines.js

+ 1
- 1
app/javascript/mastodon/actions/timelines.js View File

@ -104,7 +104,7 @@ export function expandTimeline(timelineId, path, params = {}, done = noOp) {
dispatch(importFetchedStatuses(response.data)); dispatch(importFetchedStatuses(response.data));
dispatch(expandTimelineSuccess(timelineId, response.data, next ? next.uri : null, response.status === 206, isLoadingRecent, isLoadingMore, isLoadingRecent && preferPendingItems)); dispatch(expandTimelineSuccess(timelineId, response.data, next ? next.uri : null, response.status === 206, isLoadingRecent, isLoadingMore, isLoadingRecent && preferPendingItems));
response.data.forEach(status => { response.data.forEach(status => {
dispatch(fetchContext(status.id));
dispatch(fetchContext(status.reblog ? status.reblog.id : status.id));
}); });
if (timelineId === 'home') { if (timelineId === 'home') {

Loading…
Cancel
Save