Fix local follows, 404 in logs

This commit is contained in:
Eugen Rochko committed 2016-09-08 02:40:51 +02:00
1 parent 0f4bc56719
commit 509c18eb13
7 files changed
+28 -11

No files matched your search

+1 -6
View File
@@ -19,12 +19,7 @@ class Api::AccountsController < ApiController
end
def follow
if @account.local?
@follow = current_user.account.follow!(@account)
else
@follow = FollowService.new.(current_user.account, @account.acct)
end
@follow = FollowService.new.(current_user.account, @account.acct)
render action: :show
end