Notifications: Use all recipients, not just "to".
This commit is contained in:
parent
01faa7c555
commit
6b32b9e346
2 changed files with 3 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
|
|||
# TODO: Ensure that this inbox is a recipient of the message
|
||||
def inbox(%{assigns: %{valid_signature: true}} = conn, params) do
|
||||
# File.write("/tmp/incoming.json", Poison.encode!(params))
|
||||
Logger.info(Poison.encode!(params, [pretty: 2]))
|
||||
with {:ok, _user} <- ap_enabled_actor(params["actor"]),
|
||||
nil <- Activity.get_by_ap_id(params["id"]),
|
||||
{:ok, activity} <- Transmogrifier.handle_incoming(params) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue