1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

fix rubocop

This commit is contained in:
Jonathan de Jong 2023-12-01 11:17:25 +01:00
parent b6ddc4fe27
commit 700dfac4cb

View file

@ -51,8 +51,8 @@ class FeedInsertWorker
def notify?
return false if @type != :home || @status.reblog? ||
(@status.reply? && @status.in_reply_to_account_id != @status.account_id) ||
FeedManager.instance.filter_notification?(@status.account_id, @status)
(@status.reply? && @status.in_reply_to_account_id != @status.account_id) ||
FeedManager.instance.filter_notification?(@status.account_id, @status)
Follow.find_by(account: @follower, target_account: @status.account)&.notify?
end