Follow up to #38809 - Appending not following condition (as standard) (#39377)

This commit is contained in:
Shlee 2026-06-11 22:40:27 +09:30 committed by GitHub
parent 640cc39869
commit 655dca8a78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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