Merge branch 'feature/home-timeline' into 'develop'
authorlambadalambda <gitgud@rogerbraun.net>
Wed, 12 Apr 2017 15:30:46 +0000 (11:30 -0400)
committerlambadalambda <gitgud@rogerbraun.net>
Wed, 12 Apr 2017 15:30:46 +0000 (11:30 -0400)
Add home timeline

See merge request !6

1  2 
lib/pleroma/web/router.ex

index 0d2432b9e134ed93f4f673217e8b61083227ae9f,66dcbb1188a628838c993ca828c64cec8a08f426..3c560349f0c4a7d316132f465dd8611ecfe14782
@@@ -30,9 -30,9 +30,10 @@@ defmodule Pleroma.Web.Router d
    scope "/api", Pleroma.Web do
      pipe_through :authenticated_api
  
 +    get "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials
      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