]> cat aescling's git repositories - mastodon.git/commit
Exclude replies from list timelines (#8683)
authorcbayerlein <c.bayerlein@gmail.com>
Thu, 27 Sep 2018 22:37:21 +0000 (00:37 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 27 Sep 2018 22:37:21 +0000 (00:37 +0200)
commit4b78546135b141da9998d284bcba3107d98fe951
tree97abb6aa36afcf388f5d3bdc44f08916dffd1aa3
parent3f9ec3de82c1a3879a2b092672f51c1caca76f5c
Exclude replies from list timelines (#8683)

* Changed list behaviour

I added the following line to the FeedManager (app/lib/feed_manager.rb) in the push_to_list function:

`return false if status.reply?`

Now all posts that are replies are filtered out, so that now only "genuine" posts are displayed in the list.

This is a first approach to solve issue #5916

* Update feed_manager.rb

As suggested by @Gargron
app/lib/feed_manager.rb