It sounds scumbaggish, but it should serve as a lesson: Be careful what you post on the internet.
No. Self censorship based on fear is not a "lesson". Don't blame the victim here.