From: William Pitcock Date: Mon, 6 Aug 2018 08:26:36 +0000 (+0000) Subject: run mix format X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=0ca9b9ff964f7a64a2225056991068320e085d62;p=akkoma run mix format --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index bab272323..a07bf1629 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -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