Browse Source

common api: add some missing IR bits for listen activities' children

object-id-column
Ariadne Conill 4 years ago
parent
commit
8b34b221cb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/pleroma/web/common_api/common_api.ex

+ 2
- 1
lib/pleroma/web/common_api/common_api.ex View File

@@ -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,


Loading…
Cancel
Save