Self-notify on accepting follow requests (#8541)

lolsob-rspec
ThibG 2018-08-31 15:17:31 +02:00 committed by Eugen Rochko
parent d516e7fa62
commit 108623e86d
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class Api::V1::FollowRequestsController < Api::BaseController
def authorize
AuthorizeFollowService.new.call(account, current_account)
NotifyService.new.call(current_account, Follow.find_by(account: account, target_account: current_account))
render_empty
end