浏览代码

Self-notify on accepting follow requests (#8541)

master
ThibG 5 年前
committed by Eugen Rochko
父节点
当前提交
0b62585748
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      app/controllers/api/v1/follow_requests_controller.rb

+ 1
- 0
app/controllers/api/v1/follow_requests_controller.rb 查看文件

@@ -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



正在加载...
取消
保存