0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/chat/test/javascripts
Renato Atilio 7c220494c0
FIX: Show flagged chat message uploads in the review queue (#41689)
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.
2026-07-15 10:11:13 -03:00
..
acceptance FEATURE: extend chat/new-message with prefilling text api (#40007) 2026-05-18 13:43:39 -03:00
components FIX: Show flagged chat message uploads in the review queue (#41689) 2026-07-15 10:11:13 -03:00
helpers DEV: Remove unused chat pretender (#39405) 2026-04-21 12:43:14 +01:00
integration DEV: Update test module name conventions (#40389) 2026-05-29 15:19:55 +10:00
unit FIX: use available channel for /chat/new-channel MessageBus event (#41625) 2026-07-13 08:54:10 -04:00
chat-fixtures.js