mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:33:43 +08:00
c0d3cded73
When editing a message, we call `message.cook()` in the beginning of `#sendEditMessage` methods, but when sending a new message, the call to `message.cook()` is hidden in the `stageMessage` method. We can just call `message.cook()` before sending the message, no matter whether this is a new message or an edited message. |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets |