Skip to content
Snippets Groups Projects
Commit 0b625857 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Self-notify on accepting follow requests (#8541)

parent fe56d26f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment