Skip to content
Snippets Groups Projects
Commit 889ada5e authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix process mentions for local users, as local users are considered to use OStatus (#5618)

parent 3f16caaa
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ class ProcessMentionsService < BaseService
mentioned_account = nil
end
next match if mentioned_account.nil? || (mentioned_account.ostatus? && status.stream_entry.hidden?)
next match if mentioned_account.nil? || (!mentioned_account.local? && mentioned_account.ostatus? && status.stream_entry.hidden?)
mentioned_account.mentions.where(status: status).first_or_create(status: status)
"@#{mentioned_account.acct}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment