mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 09:54:17 +08:00
35a414bb38
We need to create and update `chat_mentions` records for messages earlier. They should be created or updated before we call `Chat::Publisher.publish_new!` `Chat::Publisher.publish_edit!` to send the message to message bus subscribers). This logic is covered with tests in `message_creator_spec.rb`, `message_updater_spec.rb`, `notifier_spec.rb` and `notify_mentioned_spec.rb`. See the commits history for steps of refactoring. |
||
---|---|---|
.. | ||
chat | ||
discourse_dev | ||
email_controller_helper | ||
onebox/templates | ||
tasks | ||
service_runner.rb |