]> cat aescling's git repositories - mastodon.git/commit
Fix thread depth computation in statuses_controller (#9426)
authorThibG <thib@sitedethib.com>
Wed, 5 Dec 2018 01:12:29 +0000 (02:12 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 5 Dec 2018 01:12:29 +0000 (02:12 +0100)
commite88c6a5c3c188731f7784141b8835c410163cbeb
tree8f9eca052c6cf60bd5c59d2bdf376e090aa70976
parenta61ce1c947eda67e62ee2f1abcaf44ebcc60d7ec
Fix thread depth computation in statuses_controller (#9426)

* Add test that should currently fail

* Fix depth computation (will still fail if statuses have been filtered out)

* Fix handling of broken threads
app/controllers/statuses_controller.rb
spec/controllers/statuses_controller_spec.rb