]> cat aescling's git repositories - mastodon.git/commit
Fix regression from #3842 (#3892)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 22 Jun 2017 00:38:50 +0000 (02:38 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2017 00:38:50 +0000 (02:38 +0200)
commit0190aac240fd804180a56b5fe174526a9e4c3f6d
tree82780606af6668bea6b72ee0672af358b8266588
parentcc382c5006ed5c4c18c3547150b214807b217c7b
Fix regression from #3842 (#3892)

* Fix regression from #3842

Simplify the query by omitting all direct statuses. Private statuses
are allowed because they are from accounts we are following (so
by definition)

Resolves #3887 (alternative)

* Adjust test
app/models/status.rb
spec/models/status_spec.rb