mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-30 22:42:29 +08:00
update orgnization after update user
This commit is contained in:
parent
a37d82e2dd
commit
15e0a7aa38
@ -454,9 +454,7 @@ func (s *userServer) UpdateUserInfo(ctx context.Context, req *pbUser.UpdateUserI
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "UpdateOrganizationUser failed", err.Error())
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "UpdateOrganizationUser failed", err.Error())
|
||||||
} else {
|
} else {
|
||||||
if out.ErrCode == 0 {
|
if out.ErrCode != 0 {
|
||||||
chat.OrganizationNotificationToAll(req.OpUserID, req.OperationID)
|
|
||||||
} else {
|
|
||||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "grpc resp: ", out)
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "grpc resp: ", out)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user