discourse/plugins/chat/lib
Rafael dos Santos Silva 2834cc7955
FIX: Duplicate notifications when mentioned in chat (#39670)
Previously, building the web push "Reply" action payload raised because
`inline_reply.png` lived under `public/images/` where Propshaft can't
resolve it, so `Jobs::Chat::NotifyMentioned` retried after
`create_notification!` and inflated the bell with duplicate rows.

This change moves the icon into `app/assets/images/push-notifications/`
and wraps the action builder in a `rescue` so any future payload failure
logs and returns `{}` instead of stranding the job.

A post-deploy migration sweeps the duplicate `chat_mention`
`Notification` rows (and their `chat_mention_notifications` join
entries) created during the deploy window — keeping the oldest row per
`(user_id, data)` group and merging the read state forward.
2026-04-30 14:52:39 -03:00
..
chat FIX: Duplicate notifications when mentioned in chat (#39670) 2026-04-30 14:52:39 -03:00
chat_sdk FIX: Scope thread lookup by channel_id in chat thread messages service (#37978) 2026-02-24 10:10:45 +08:00
discourse_dev DEV: Refactor Chat::ListChannelThreadMessages a bit (#33380) 2025-08-08 14:05:38 +02:00
email_controller_helper
onebox/templates FiX: Update date url for thread oneboxes (#24172) 2023-10-31 08:04:40 -03:00
tasks DEV: fix chat:*:populate rake tasks (#29740) 2024-11-13 18:11:25 +01:00