Implement muting, add it to the mastodon API
This commit is contained in:
parent
1dd718e83c
commit
f41f017bbc
5 changed files with 58 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ defmodule Pleroma.Web.Router do
|
|||
post("/accounts/:id/unfollow", MastodonAPIController, :unfollow)
|
||||
post("/accounts/:id/block", MastodonAPIController, :block)
|
||||
post("/accounts/:id/unblock", MastodonAPIController, :unblock)
|
||||
post("/accounts/:id/mute", MastodonAPIController, :relationship_noop)
|
||||
post("/accounts/:id/unmute", MastodonAPIController, :relationship_noop)
|
||||
post("/accounts/:id/mute", MastodonAPIController, :mute)
|
||||
post("/accounts/:id/unmute", MastodonAPIController, :unmute)
|
||||
get("/accounts/:id/lists", MastodonAPIController, :account_lists)
|
||||
|
||||
get("/follow_requests", MastodonAPIController, :follow_requests)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue