Change relationship direction of subscriptions
This commit is contained in:
parent
d35f6551c1
commit
9ca91cbb87
12 changed files with 84 additions and 94 deletions
|
|
@ -311,6 +311,9 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
post("/domain_blocks", MastodonAPIController, :block_domain)
|
||||
delete("/domain_blocks", MastodonAPIController, :unblock_domain)
|
||||
|
||||
post("/pleroma/accounts/:id/subscribe", MastodonAPIController, :subscribe)
|
||||
post("/pleroma/accounts/:id/unsubscribe", MastodonAPIController, :unsubscribe)
|
||||
end
|
||||
|
||||
scope [] do
|
||||
|
|
@ -495,9 +498,6 @@ defmodule Pleroma.Web.Router do
|
|||
post("/pleroma/friendships/approve", TwitterAPI.Controller, :approve_friend_request)
|
||||
post("/pleroma/friendships/deny", TwitterAPI.Controller, :deny_friend_request)
|
||||
|
||||
post("/pleroma/subscriptions/create", TwitterAPI.Controller, :subscribe)
|
||||
post("/pleroma/subscriptions/destroy", TwitterAPI.Controller, :unsubscribe)
|
||||
|
||||
post("/friendships/create", TwitterAPI.Controller, :follow)
|
||||
post("/friendships/destroy", TwitterAPI.Controller, :unfollow)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue