mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Investigate activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6b4860b217
commit
e020075a85
2 changed files with 1 additions and 8 deletions
|
@ -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