mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
When a chat message containing an uploaded image, video, or file was flagged, the review queue showed only the message text: chat uploads are stored separately from the cooked message, so moderators had no way to see the actual reported content. This was especially concerning for direct messages, where staff cannot otherwise view the media. This change snapshots the flagged message's uploads into the reviewable's payload and renders them in the review queue using the same component chat itself uses, so moderators now see the flagged image/video/attachment (with lightbox support) directly on the reviewable. |
||
|---|---|---|
| .. | ||
| controllers/chat | ||
| jobs | ||
| models | ||
| queries/chat | ||
| serializers/chat | ||
| services/chat | ||
| validators/chat | ||
| views | ||