mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +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 {
|
||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "UpdateOrganizationUser failed", err.Error())
|
||||
} else {
|
||||
if out.ErrCode == 0 {
|
||||
chat.OrganizationNotificationToAll(req.OpUserID, req.OperationID)
|
||||
} else {
|
||||
if out.ErrCode != 0 {
|
||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "grpc resp: ", out)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user