Her Twitter account is the platform from which she "evangelizes" for developers; that is, performs her PR duties for her employer. She consciously made the decision to (ab)use her professional platform and status to more effectively carry out a personal crusade. Then when called out on it, she explicitly stated that her employer condoned her actions. Meaning, the PR manager stated that she was speaking on behalf of her employer. About dongles, and forking repos, and public shaming.
This leaves the employer vulnerable, because they are now complicit in her actions. In the extreme case, they could be sued. In the least extreme case, they've got a renegade PR manager projecting an image that doesn't actually represent the company.
I don't see a possible scenario where the employer could have kept the PR manager on. She showed a complete lack of judgement and forethought, not to mention a total disregard for the best interests of the brand.
And this is all _completely_exclusive_ from any of the sexism, misogyny, whatever allegations. Irrelevant for the purposes of discussing the firing. It's a chain-of-thought, judgment, and competency thing. The PR manager showed she did not have the right temperament or skillset for the job. The employer took action.