Add unretweet TwAPI endpoint and cleanup AP.unannounce

This commit is contained in:
Francis Dinh 2018-06-13 21:29:55 -04:00
commit 1555c66650
9 changed files with 63 additions and 16 deletions

View file

@ -238,6 +238,7 @@ defmodule Pleroma.Web.Router do
post("/statuses/update", TwitterAPI.Controller, :status_update)
post("/statuses/retweet/:id", TwitterAPI.Controller, :retweet)
post("/statuses/unretweet/:id", TwitterAPI.Controller, :unretweet)
post("/statuses/destroy/:id", TwitterAPI.Controller, :delete_post)
post("/friendships/create", TwitterAPI.Controller, :follow)