feat: add friend agree after callback (#2680)

This commit is contained in:
icey-yu
2024-09-29 11:36:24 +08:00
committed by GitHub
parent d6b711c7ed
commit 0892c1c0c3
6 changed files with 30 additions and 0 deletions
+1
View File
@@ -212,6 +212,7 @@ func (s *friendServer) RespondFriendApply(ctx context.Context, req *relation.Res
if err != nil {
return nil, err
}
s.webhookAfterAddFriendAgree(ctx, &s.config.WebhooksConfig.AfterAddFriendAgree, req)
s.notificationSender.FriendApplicationAgreedNotification(ctx, req)
return resp, nil
}