Pleroma.User: Pass an array to profile_urls
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sat, 2 Mar 2019 05:33:15 +0000 (06:33 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sat, 2 Mar 2019 05:33:15 +0000 (06:33 +0100)
lib/pleroma/user.ex

index b5461327493e1d6d735143a79a6124cb06a3acb3..447beb25b5949c4e67e6e9288caa9d6d4f74b065 100644 (file)
@@ -1204,7 +1204,7 @@ defmodule Pleroma.User do
       end)
 
     # TODO: get profile URLs other than user.ap_id
-    profile_urls = user[:ap_id]
+    profile_urls = [user[:ap_id]]
 
     bio
     |> CommonUtils.format_input("text/plain", %{