mirror of
https://github.com/discourse/discourse.git
synced 2025-05-03 02:04:35 +08:00

This fixes an issue where a user could send an empty string as a chat message .e.g ' ' and the message would be posted. We don't want this, we need to strip the message first before validating for length etc.