Add basic mastodon notification support.

This commit is contained in:
Roger Braun 2017-09-11 16:15:28 +02:00
commit 61adf676d5
8 changed files with 108 additions and 6 deletions

View file

@ -65,7 +65,7 @@ defmodule Pleroma.Web.Router do
post "/statuses/:id/favourite", MastodonAPIController, :fav_status
post "/statuses/:id/unfavourite", MastodonAPIController, :unfav_status
get "/notifications", MastodonAPIController, :empty_array
get "/notifications", MastodonAPIController, :notifications
end
scope "/api", Pleroma.Web do