The USSR absolutely used a nationalist view in their propaganda [0]
As did the CCP [1]:
> Ideals and convictions are the spiritual banners for the united struggle of a country, nation and party, wavering ideals and convictions are the most harmful form of wavering.
As did the CCP [1]:
> Ideals and convictions are the spiritual banners for the united struggle of a country, nation and party, wavering ideals and convictions are the most harmful form of wavering.
[0] https://www.cambridge.org/core/journals/nationalities-papers...
[1] https://en.wikipedia.org/wiki/Ideology_of_the_Chinese_Commun...