mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
fix rubocop
This commit is contained in:
parent
b6ddc4fe27
commit
700dfac4cb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue