]> cat aescling's git repositories - mastodon.git/commit
Fix direct timeline pagination in the WebUI (#10126)
authorThibG <thib@sitedethib.com>
Wed, 27 Feb 2019 18:13:16 +0000 (19:13 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 27 Feb 2019 18:13:16 +0000 (19:13 +0100)
commit6e8743d17a92438bd2332e97f824bc212fa4b96e
tree3ccc45abf83fbd5d33e8d419f1bf61f2a7567ebb
parentdf0120670398246739144466bf327193383ba530
Fix direct timeline pagination in the WebUI (#10126)

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 conversations (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in the direct timeline, which happens each time
the direct message column is opened.

(Basically #9516 for direct messages)
app/javascript/mastodon/actions/conversations.js
app/javascript/mastodon/reducers/conversations.js