Skip to content

Commit

Permalink
Self-notify on accepting follow requests (mastodon#8541)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and Gargron committed Aug 31, 2018
1 parent fe56d26 commit 0b62585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/api/v1/follow_requests_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def index

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

Expand Down

0 comments on commit 0b62585

Please sign in to comment.