mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-22 01:44:48 -05:00
This commit is contained in:
@@ -167,7 +167,7 @@ class NotifyService < BaseService
|
||||
end
|
||||
|
||||
def blocked_by_bots_policy?
|
||||
@policy.drop_bots? && from_bot?
|
||||
@policy.drop_bots? && from_bot? && not_following?
|
||||
end
|
||||
end
|
||||
|
||||
@@ -208,7 +208,7 @@ class NotifyService < BaseService
|
||||
end
|
||||
|
||||
def filtered_by_bots_policy?
|
||||
@policy.filter_bots? && from_bot?
|
||||
@policy.filter_bots? && from_bot? && not_following?
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user