discourse/plugins/chat/app
Roman Rizzi 082cd13909
FIX: Delete associated notifications when trashing chat messages. (#20144)
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.
2023-02-03 12:52:13 -03:00
..
controllers FIX: Delete associated notifications when trashing chat messages. (#20144) 2023-02-03 12:52:13 -03:00
core_ext
jobs DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
models FIX: Delete associated notifications when trashing chat messages. (#20144) 2023-02-03 12:52:13 -03:00
queries
serializers FIX: Channel archive N1 when serializing current user (#19820) 2023-01-11 14:39:56 +10:00
services FIX: Delete associated notifications when trashing chat messages. (#20144) 2023-02-03 12:52:13 -03:00
views