mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 23:11:13 +00:00
activitypub: transmogrifier: only consider to
users as mention targets
This commit is contained in:
parent
144dc048b8
commit
3e33479c05
|
@ -693,7 +693,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier 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 a new issue