activitypub: transmogrifier: only consider `to` users as mention targets
This commit is contained in:
parent
144dc048b8
commit
3e33479c05
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue