mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 04:43:55 +08:00

Prior to this fix if a user had started to reply to a message without actually sending a message, the thread would still be created and we would end up listing it in the threads list of a channel. This commit also improves adds thread and thread_replies_count to the 4th parameter of the chat_message_created event.