mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 03:15:59 +08:00
082cd13909
Deleting a message with a mention doesn't clear the associated notification, confusing the mentioned user. There are different chat notification types, but we only care about `chat_mentioned` since `chat_quoted` is associated with a post, and `chat_message` is only for push notifications. Unfortunately, this change doesn't fix the chat bubble getting out of sync when a message gets deleted since we track unread/mentions count with an integer, making it a bit hard to manipulate. We can follow up later if we consider it necessary. |
||
---|---|---|
.. | ||
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 |