mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 10:54:22 +08:00
2703f2311a
In the past, we create a `chat_mention` records only when we wanted to notify a user about a mention. Since we don't send notifications when a user mentioning himself, we didn't create a `chat_mention` records in those cases. Now we use `chat_mentions` records in other scenarios too, so when a user is mentioning himself we want to: 1. Create a `chat_mention` record for that mention 2. Do not create a notification for that mention |
||
---|---|---|
.. | ||
components/chat | ||
fabricators | ||
integration | ||
jobs | ||
lib | ||
mailers | ||
models | ||
queries/chat | ||
requests | ||
serializer | ||
services | ||
support | ||
system | ||
validators | ||
plugin_helper.rb | ||
plugin_spec.rb |