mirror of
https://github.com/discourse/discourse.git
synced 2025-01-23 09:23:00 +08:00
8b438767e5
Steps to reproduce the bug:
1. Send a chat message
2. Edit the message and add a mention to it
3. The mentioned user won't receive a notification
This PR fixes the problem.
Also:
1. There's no need anymore to have a code for removing notifications in the `notify_edit` method, because a call to `@chat_message.update_mentions` in the first line of the `notify_edit` method does that job:
|
||
---|---|---|
.. | ||
chat | ||
discourse_dev | ||
email_controller_helper | ||
onebox/templates | ||
tasks | ||
service_runner.rb |