Merge branch 'develop' into issue/1276
[akkoma] / lib / pleroma / user.ex
index ca0bfca116d9b424d198fb9bd0cfa0504576b798..ff828aa17f33478cd3759ea1f6e9d48d7093397e 100644 (file)
@@ -305,11 +305,6 @@ defmodule Pleroma.User do
     end
   end
 
-  def profile_url(%User{uri: url}) when url != nil, do: url
-  def profile_url(%User{source_data: %{"url" => url}}) when is_binary(url), do: url
-  def profile_url(%User{ap_id: ap_id}), do: ap_id
-  def profile_url(_), do: nil
-
   def ap_id(%User{nickname: nickname}), do: "#{Web.base_url()}/users/#{nickname}"
 
   def ap_followers(%User{follower_address: fa}) when is_binary(fa), do: fa