Commit 3e33479c authored by kaniini's avatar kaniini
Browse files

activitypub: transmogrifier: only consider `to` users as mention targets

parent 144dc048
...@@ -693,7 +693,7 @@ def add_hashtags(object) do ...@@ -693,7 +693,7 @@ def add_hashtags(object) do
end end
def add_mention_tags(object) do def add_mention_tags(object) do
recipients = object["to"] ++ (object["cc"] || []) recipients = object["to"] || []
mentions = mentions =
recipients recipients
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment