spc-pleroma/lib/pleroma/web/ostatus/ostatus.ex

15 lines
233 B
Elixir

defmodule Pleroma.Web.OStatus do
alias Pleroma.Web
def feed_path(user) do
"#{user.ap_id}/feed.atom"
end
def pubsub_path(user) do
"#{Web.base_url}/push/hub/#{user.nickname}"
end
def user_path(user) do
end
end