Investigate activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6b4860b217
commit
e020075a85
|
@ -293,13 +293,6 @@ defmodule Mobilizon.Service.ActivityPub do
|
|||
end
|
||||
|
||||
def user_data_from_user_object(data) do
|
||||
name =
|
||||
if String.trim(data["name"]) === "" do
|
||||
data["preferredUsername"]
|
||||
else
|
||||
data["name"]
|
||||
end
|
||||
|
||||
user_data = %{
|
||||
url: data["id"],
|
||||
info: %{
|
||||
|
|
|
@ -44,7 +44,7 @@ defmodule Mobilizon.Service.Federator do
|
|||
|
||||
def handle(:incoming_ap_doc, params) do
|
||||
Logger.info("Handling incoming AP activity")
|
||||
Logger.debug(inspect(params))
|
||||
Logger.info(inspect(params))
|
||||
|
||||
with {:ok, _activity} <- Transmogrifier.handle_incoming(params) do
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue