mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix: fix the error of repalce
This commit is contained in:
parent
eca38ad45e
commit
6cb28b70e5
@ -75,7 +75,9 @@ func CallbackBeforeUserRegister(ctx context.Context, req *pbuser.UserRegisterReq
|
||||
if err := http.CallBackPostReturn(ctx, config.Config.Callback.CallbackUrl, cbReq, resp, config.Config.Callback.CallbackBeforeUpdateUserInfo); err != nil {
|
||||
return err
|
||||
}
|
||||
if !*config.Config.Callback.CallbackBeforeUserRegister.CallbackFailedContinue {
|
||||
utils.NotNilReplace(&req.Users, &resp.Users)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user