mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
7cc71748ce
Fix #5398 Ordering the home timeline query by account_id meant that the first 100 items belonged to a single account. There was also no reason to reverse-iterate over the statuses. Assuming the user accesses the feed halfway-through, it's better to have recent statuses already available at the top. Therefore working from newer->older is ideal. If the algorithm ends up filtering all items out during last-mile filtering, repeat again a page further. The algorithm terminates when either at least one item has been added, or if the database query returns nothing (end of data reached) |
||
---|---|---|
.. | ||
activitypub | ||
ostatus | ||
settings | ||
application_extension.rb | ||
delivery_failure_tracker.rb | ||
exceptions.rb | ||
extractor.rb | ||
feed_manager.rb | ||
formatter.rb | ||
hash_object.rb | ||
inline_renderer.rb | ||
language_detector.rb | ||
provider_discovery.rb | ||
request.rb | ||
sanitize_config.rb | ||
status_filter.rb | ||
status_finder.rb | ||
tag_manager.rb | ||
themes.rb | ||
user_settings_decorator.rb | ||
webfinger_resource.rb |