"Yes, it is, if you use that pseudonym to chat with teenage girls and you encourage them to kill themselves and they follow through. Be very afraid."
That's not relevant to the crime she was charged with. If none of that had happened, she could still have been convicted.
This is an example of government using a bad law to reach a popular result. In this case, we tend to like the result, because it was used against a person who well and truly sucks.
If you trust that the government will never use these charges against people who don't well and truly suck, then you have more faith in the government than I do.