Verified Commit 0bbc155e authored by Alex Gleason's avatar Alex Gleason

Bug fix #207

parent f8f50180
Pipeline #109769035 failed with stage
in 7 minutes and 8 seconds
......@@ -34,9 +34,9 @@ class ProcessMentionsService < BaseService
# eg @moderators could be configured to forward mentions to @alex and @mk
forwarding_accounts.each do |forwarding_account|
# Skip it if the post author and forwarding account match
return if status.account_id ==
next if status.account_id ==
# Skip it if forwarding is configured on oneself
return if ==
next if ==
mentions << forwarding_account.mentions.where(status: status).first_or_create(status: status)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment