From: Ariadne Conill Date: Sat, 28 Sep 2019 12:29:00 +0000 (+0000) Subject: common api: add some missing IR bits for listen activities' children X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8b34b221cbec366e0a605b9e64dafceb76ed3fd3;p=akkoma common api: add some missing IR bits for listen activities' children --- diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index b02c47059..2ec017ff8 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -219,7 +219,8 @@ defmodule Pleroma.Web.CommonAPI do Map.take(data, ["album", "artist", "title", "length"]) |> Map.put("type", "Audio") |> Map.put("to", to) - |> Map.put("cc", cc), + |> Map.put("cc", cc) + |> Map.put("actor", user.ap_id), {:ok, activity} <- ActivityPub.listen(%{ actor: user,