]> cat aescling's git repositories - mastodon.git/commit
Exclude status itself from context query (#7083)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Mon, 9 Apr 2018 07:58:53 +0000 (16:58 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 9 Apr 2018 07:58:53 +0000 (09:58 +0200)
commit498327b2e3f2e64f3a11993afdbd9d87ba73cc92
tree1a173f402558a7dc59a8431778e526094a70c341
parent0893b1669548858daee79ab1260fb98646a0b3fa
Exclude status itself from context query (#7083)

ancestor_statuses and descendant_statuses used to include the root status
itself, but the behavior is confusing because the root status is not
an ancestor nor descendant.
app/models/concerns/status_threading_concern.rb