mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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. |
||
---|---|---|
.. | ||
chat | ||
discourse-details | ||
discourse-lazy-videos | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
poll | ||
styleguide |