Add home timeline
authordtluna <dtluna@openmailbox.org>
Mon, 10 Apr 2017 15:26:14 +0000 (18:26 +0300)
committerdtluna <dtluna@openmailbox.org>
Mon, 10 Apr 2017 15:26:14 +0000 (18:26 +0300)
lib/pleroma/web/router.ex

index 52030d684ac16d093977094286974f7bcd94dde8..66dcbb1188a628838c993ca828c64cec8a08f426 100644 (file)
@@ -32,6 +32,7 @@ defmodule Pleroma.Web.Router do
 
     post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
     post "/statuses/update", TwitterAPI.Controller, :status_update
+    get "/statuses/home_timeline", TwitterAPI.Controller, :friends_timeline
     get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline
     post "/friendships/create", TwitterAPI.Controller, :follow
     post "/friendships/destroy", TwitterAPI.Controller, :unfollow