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. |
||
|---|---|---|
| .. | ||
| category_channel_spec.rb | ||
| category_spec.rb | ||
| chat_channel_spec.rb | ||
| chat_draft_spec.rb | ||
| chat_message_spec.rb | ||
| deleted_chat_user_spec.rb | ||
| direct_message_channel_spec.rb | ||
| direct_message_spec.rb | ||
| reviewable_chat_message_spec.rb | ||
| user_spec.rb | ||