I came into this article thinking that it was someone at Twitter, probably as part of the interview process, that told her this. Maybe it's just me, but I feel like the title is a bit misleading.
An arrogant peer told her that (in less words, mind you). Just as unfortunate, but not nearly as egregious as suggested by the title.