Added check to FeedManager if group_id is present
• Added: - check to FeedManager if group_id is present
This commit is contained in:
parent
7e81b2e132
commit
8a096e1f52
@ -178,6 +178,8 @@ class FeedManager
|
|||||||
should_filter ||= AccountDomainBlock.where(account_id: receiver_id, domain: status.reblog.account.domain).exists? # or the author's domain is blocked
|
should_filter ||= AccountDomainBlock.where(account_id: receiver_id, domain: status.reblog.account.domain).exists? # or the author's domain is blocked
|
||||||
return should_filter
|
return should_filter
|
||||||
end
|
end
|
||||||
|
|
||||||
|
return false if status.group_id
|
||||||
|
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user