Increase note truncation length on account grids, improve FanOutOnWrite a bit,

fix tests (the recorded Salmon fixture expects LOCAL_DOMAIN to be something
specific unfortunately)
This commit is contained in:
Eugen Rochko
2016-03-21 08:41:00 +01:00
parent 253ab26520
commit 46cbb9c551
3 changed files with 5 additions and 4 deletions

View File

@ -11,7 +11,7 @@ class FanOutOnWriteService < BaseService
# Deliver to local followers
status.account.followers.each do |follower|
next if (status.reply? && !follower.following?(replied_to_user)) || !follower.local?
next if (status.reply? && !(follower.id = replied_to_user.id || follower.following?(replied_to_user))) || !follower.local?
push(:home, follower.id, status)
end