discourse/plugins
Andrei Prigorshnev 8b438767e5
FIX: send notifications after a chat message was updated with new mentions (#21173)
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:
    ff56f403a2/plugins/chat/lib/chat/notifier.rb (L90)

2. There's no need to load mention records from database, it's enough to pluck user ids
2023-04-20 19:05:17 +04:00
..
chat FIX: send notifications after a chat message was updated with new mentions (#21173) 2023-04-20 19:05:17 +04:00
discourse-details Update translations (#21055) 2023-04-11 15:45:03 +02:00
discourse-lazy-videos FIX: Add missing translations strings for lazy-videos (#21127) 2023-04-18 07:01:27 -03:00
discourse-local-dates DEV: Support @debounce decorator in native class syntax (#20521) 2023-03-03 11:48:58 +00:00
discourse-narrative-bot FIX: Render links with subfolders properly in Discobot 2023-04-17 16:53:00 +02:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll UX: Vertical alignment issues on mobile (#21118) 2023-04-17 22:51:13 +05:30
styleguide Update translations (#20861) 2023-04-05 09:12:48 +02:00