user: set up a valid followers address to use
authorWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:03:00 +0000 (08:03 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:22:15 +0000 (08:22 +0000)
lib/pleroma/user.ex

index 82a2a78331747153c55aa530b0536adbc5d7f067..327eb3ea31c8594961705f6da13e93966bdaafff 100644 (file)
@@ -647,6 +647,7 @@ defmodule Pleroma.User do
         |> put_change(:ap_id, Pleroma.Web.Endpoint.url())
         |> put_change(:nickname, nil)
         |> put_change(:local, true)
+        |> put_change(:follower_address, Pleroma.Web.Endpoint.url() <> "/relay/followers")
 
       {:ok, user} = Repo.insert(changes)
       user