This change only makes the model reflect correctly what's already happening in the database. Note that there are no calls to chat_message.chat_mention in Core and plugins so this change should be safe. Also note, that at the moment we use the chat_mentions db table only to support notifications about mentions, but we're going to start using it for other cases. This commit is the first step in that direction. |
||
|---|---|---|
| .. | ||
| concerns | ||
| category_channel.rb | ||
| chat_channel_archive.rb | ||
| chat_channel.rb | ||
| chat_draft.rb | ||
| chat_mention.rb | ||
| chat_message_reaction.rb | ||
| chat_message_revision.rb | ||
| chat_message.rb | ||
| chat_thread.rb | ||
| chat_upload.rb | ||
| chat_view.rb | ||
| chat_webhook_event.rb | ||
| deleted_chat_user.rb | ||
| direct_message_channel.rb | ||
| direct_message_user.rb | ||
| direct_message.rb | ||
| incoming_chat_webhook.rb | ||
| reviewable_chat_message.rb | ||
| user_chat_channel_membership.rb | ||