That said the Bolsheviks decriminalized homosexuality in 1921 and Castro officially apologized to queer Cubans in 2010 for their internment in the aftermath of the revolution.
The NPA has also been pretty great on LGBT rights:
In 2005, the NPA conducted the first recorded gay marriage in the history of the Philippines.[37] In contrast to the deeply religious nature of mainstream Filipino society, the NPA leadership openly accepts gay and lesbian people into their ranks, though the attitudes of members within the various and largely isolated guerrilla branches can vary.
Filipino president Duterte has mocked the NPA's acceptance of LGBT members, erroneously claiming that '40 percent' of NPA members are gay.[38] Duterte also claimed that NPA guerrillas once attempted to sexually seduce his son.[39] NPA co-founder Jose Maria Sison confirmed that the NPA openly accepted LGBT people and called Duterte's claims "unbelievable".[40]
The NPA has also been pretty great on LGBT rights: