When streaming API is disconnected, poll home/notifications (#2776)
* When streaming API is disconnected, poll home/notifications Display slightly different empty home timeline message if user is following others Cull notifications to 20 items when over 40 get added in real-time Run manage:translations * Optimize <HomeTimeline /> a little
This commit is contained in:
parent
84eb425f38
commit
eddb95b012
31 changed files with 124 additions and 45 deletions
|
@ -86,6 +86,8 @@ export function refreshTimeline(timeline, id = null) {
|
|||
|
||||
params = { ...params, since_id: newestId };
|
||||
skipLoading = true;
|
||||
} else if (getState().getIn(['timelines', timeline, 'loaded'])) {
|
||||
skipLoading = true;
|
||||
}
|
||||
|
||||
dispatch(refreshTimelineRequest(timeline, id, skipLoading));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue