Commit 0ca9b9ff authored by kaniini's avatar kaniini

run mix format

parent 5abf9ad6
......@@ -562,7 +562,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
# nickname can be nil because of virtual actors
user_data =
if data["preferredUsername"] do
Map.put(user_data, :nickname, "#{data["preferredUsername"]}@#{URI.parse(data["id"]).host}")
Map.put(
user_data,
:nickname,
"#{data["preferredUsername"]}@#{URI.parse(data["id"]).host}"
)
else
Map.put(user_data, :nickname, nil)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment