]> cat aescling's git repositories - mastodon.git/commit
Fix loading Home TL from database not respecting `min_id` and not including DMs ...
authorClaire <claire.github-309c@sitedethib.com>
Thu, 14 Apr 2022 15:44:21 +0000 (17:44 +0200)
committersingle-right-quote <11325618-aescling@users.noreply.gitlab.com>
Thu, 5 May 2022 03:55:59 +0000 (23:55 -0400)
commit6aeaa166b5f11da51f91f8cafd7990e9262d64aa
treef8267ae8560b4477a1327c99d76e722932fc400a
parenta25f80c09bbc9eb1b1bc87a68ea1188c0ebf039c
Fix loading Home TL from database not respecting `min_id` and not including DMs (#1744)

* Rework tests

* Add tests

* Fix HomeFeed#get with min_id fetching from database

* Minor code cleanup and optimizations

* Add tests

* Take DMs into account when fetching home TL from database

* Fix not listing own DMs in Home timeline

* Add tests

* Please CodeClimate
app/models/home_feed.rb
spec/models/home_feed_spec.rb