Modern mainstream economics, including Keynesianism, gets its genealogy from the Austrian branch here. Carl Menger and Leon Walras basically opened the way for Alfred Marshall who mentored Keynes; so I don't think the distinction at this stage is as stark as it would become later.
Precisely.
But my point was that the exact problem that Keynes and co. had with 'the Austrian school' was not that it was 'immoral' in its distribution but that it failed utterly to maintain demand and avoid crashes, deflations, and depressions.