diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go index e8536e598..86d80a5f5 100644 --- a/internal/rpc/user/user.go +++ b/internal/rpc/user/user.go @@ -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) } }