]> cat aescling's git repositories - mastodon.git/commit
Fix timeline pagination in the WebUI (#9516)
authorThibG <thib@sitedethib.com>
Fri, 14 Dec 2018 00:41:38 +0000 (01:41 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 14 Dec 2018 00:41:38 +0000 (01:41 +0100)
commitf20c0b8507b72dba9c36a71721113edd31567776
tree6ead0a566823495275ea7cfcc1593735a650d4e7
parent6eece70fca4ce79a8c5ff2bffb93d1e56a868e70
Fix timeline pagination in the WebUI (#9516)

The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer statuses (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in a timeline, which happens each time
an account's timeline or media gallery is visited.
app/javascript/mastodon/actions/timelines.js
app/javascript/mastodon/reducers/timelines.js