mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 05:34:10 +08:00

This commit fixes an issue where if you tried to post 2 chat messages in quick succession which only contained uploads (both `message` fields would be `""`), then we would show the "You posted an identical message too recently." error. We should not do this for upload-only messages, they are not identical messages.