Browse Source

Fix followers with profile subscription (bell icon) being notified of post edits (#37646)

pull/1371/head
Claire 2 months ago committed by Misty De Meo
parent
commit
63e259d498
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C
  1. 2
      app/workers/feed_insert_worker.rb

2
app/workers/feed_insert_worker.rb

@ -53,7 +53,7 @@ class FeedInsertWorker
def notify?(filter_result)
return false if @type != :home || @status.reblog? || (@status.reply? && @status.in_reply_to_account_id != @status.account_id) ||
filter_result == :filter
update? || filter_result == :filter
Follow.find_by(account: @follower, target_account: @status.account)&.notify?
end

Loading…
Cancel
Save