From: William Pitcock Date: Thu, 8 Nov 2018 18:56:14 +0000 (+0000) Subject: activitypub: transmogrifier: only consider `to` users as mention targets X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=3e33479c05c315e04b0947136f1429c79c85c63c;p=akkoma activitypub: transmogrifier: only consider `to` users as mention targets --- diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index a112d4ced..1471c9416 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -693,7 +693,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do end def add_mention_tags(object) do - recipients = object["to"] ++ (object["cc"] || []) + recipients = object["to"] || [] mentions = recipients