diff --git a/lib/service/activity_pub/activity_pub.ex b/lib/service/activity_pub/activity_pub.ex index d458dcfc..715eb857 100644 --- a/lib/service/activity_pub/activity_pub.ex +++ b/lib/service/activity_pub/activity_pub.ex @@ -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: %{ diff --git a/lib/service/federator.ex b/lib/service/federator.ex index f2c4259f..24d8abf0 100644 --- a/lib/service/federator.ex +++ b/lib/service/federator.ex @@ -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