0050cc7a08
Rich-message media in gallery/shared-media/preview pipelines via Message.effectiveMedia
...
Add Message/EngineMessage.effectiveMedia (= message.media when non-empty, else
richText.instantPage.allMedia()) and route the media-consuming sites through it
so a rich message's instant-page media participates in the same pipelines as
normal message.media: shared-media grids/file-rows, search media grid, gallery
open + item nodes + footer, the peer audio/voice playlist, secret-media preview,
resource-by-id resolution, recent downloads, downloaded-media store, delete-time
resource cleanup, cache-usage stats, the in-chat download manager, and the
context-menu / share actions (Save to Camera Roll, copy image, save audio/music
to files). For normal messages effectiveMedia == message.media, so each swap is
behavior-preserving; rich messages render their own bubble via
ChatMessageRichDataBubbleContentNode (not the text/file bubbles), so those paths
are deliberately untouched, as are the forward path (the attribute travels with
the forward) and the markdown-based rich-edit path. First-media scope for now.
See docs/instantpage-richtext.md for the full architecture + invariants.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-04 23:46:56 +02:00
..
2023-10-31 16:47:10 +04:00
2026-04-16 01:18:22 +02:00
2025-02-22 19:17:36 +04:00
2026-04-14 03:33:34 +02:00
2024-02-23 15:26:33 +04:00
2024-12-27 23:04:34 +04:00
2025-10-16 05:30:06 +04:00
2026-01-18 22:21:57 +08:00
2025-12-29 22:42:58 +04:00
2021-12-22 11:31:48 +04:00
2021-08-12 16:41:11 +02:00
2021-08-12 16:41:11 +02:00
2021-09-03 00:45:22 +04:00
2023-02-13 22:18:12 +04:00
2022-06-03 19:47:16 +04:00
2023-01-31 20:14:34 +01:00
2021-08-13 17:50:32 +03:00
2023-08-30 13:02:15 +04:00
2026-05-14 12:45:26 +02:00
2023-09-15 15:40:12 +04:00
2024-02-01 12:29:07 +04:00
2024-12-23 04:50:38 +04:00
2026-05-29 09:24:16 +02:00
2026-05-05 14:57:06 +02:00
2026-02-12 15:37:57 +04:00
2023-09-08 19:22:12 +04:00
2021-09-19 13:55:17 +03:00
2021-09-19 13:55:17 +03:00
2022-02-23 20:16:16 +03:00
2021-09-19 13:55:17 +03:00
2025-03-04 14:13:07 +01:00
2021-09-19 13:55:17 +03:00
2021-09-19 13:55:17 +03:00
2026-05-05 14:57:06 +02:00
2021-09-19 13:55:17 +03:00
2023-07-15 18:28:23 +04:00
2025-05-10 18:02:55 +01:00
2026-01-17 22:27:04 +08:00
2022-01-21 20:30:43 +04:00
2021-09-03 00:45:22 +04:00
2021-09-03 00:45:22 +04:00
2024-05-03 22:56:50 +04:00
2024-07-22 20:45:32 +04:00
2024-05-20 09:33:53 +04:00
2025-03-04 14:13:07 +01:00
2022-06-12 19:57:24 +04:00
2021-08-25 02:49:02 +03:00
2025-01-21 21:08:44 +04:00
2024-04-08 19:47:26 +04:00
2022-09-16 22:59:16 +04:00
2024-03-11 23:57:29 +04:00
2026-06-04 23:46:16 +02:00
2021-09-07 13:09:06 +04:00
2023-03-24 02:22:40 +04:00
2023-03-02 11:28:16 +04:00
2021-09-03 12:49:58 +04:00
2021-09-03 12:49:58 +04:00
2023-01-20 20:44:08 +04:00
2021-09-03 12:49:58 +04:00
2021-08-12 16:41:11 +02:00
2023-09-27 23:40:07 +04:00
2025-08-22 21:46:07 +04:00
2025-08-22 21:46:07 +04:00
2022-12-08 23:21:16 +04:00
2026-05-14 12:45:26 +02:00
2024-06-11 17:53:58 +04:00
2026-05-14 12:45:26 +02:00
2026-05-14 12:45:26 +02:00
2022-06-21 15:57:37 +05:00
2024-03-19 22:59:37 +04:00
2023-10-24 23:20:28 +04:00
2025-08-22 21:46:07 +04:00
2025-10-16 05:30:06 +04:00
2025-03-19 18:56:39 +01:00
2025-02-21 16:17:15 +01:00
2025-03-25 12:36:31 +01:00
2026-05-05 14:57:06 +02:00
2023-09-24 00:45:38 +04:00
2023-01-17 20:03:49 +04:00
2022-01-04 20:20:30 +04:00
2026-01-18 14:24:53 +08:00
2026-06-04 23:46:56 +02:00
2021-09-20 01:12:06 +03:00
2025-02-21 16:17:15 +01:00
2021-09-20 01:12:06 +03:00
2021-09-03 12:49:58 +04:00
2026-03-12 19:29:26 +01:00
2026-03-16 18:07:12 +01:00
2026-06-04 13:45:48 +02:00
2026-06-04 20:18:15 +02:00
2025-02-21 16:17:15 +01:00
2021-09-03 12:49:58 +04:00
2022-05-10 13:56:38 +04:00
2023-11-18 18:47:46 +04:00
2021-09-03 12:49:58 +04:00
2022-07-26 15:38:26 +02:00
2022-05-10 13:56:38 +04:00
2022-05-10 13:56:38 +04:00
2021-11-05 21:45:48 +04:00
2023-12-27 01:22:25 +04:00
2026-06-04 20:18:15 +02:00
2025-03-07 17:52:50 +01:00
2025-02-21 16:17:15 +01:00
2021-09-03 12:49:58 +04:00
2026-03-16 18:07:12 +01:00
2021-09-07 13:09:06 +04:00
2022-10-16 17:06:30 +04:00
2022-07-13 01:21:54 +02:00
2025-05-24 22:42:26 +08:00
2023-12-28 19:55:39 +04:00
2026-02-12 15:37:57 +04:00
2026-02-12 15:37:57 +04:00
2026-04-24 03:16:14 +02:00
2022-09-16 22:59:16 +04:00
2026-02-10 12:58:04 +04:00
2026-03-26 09:26:15 +01:00
2023-04-19 23:47:38 +04:00
2025-12-16 20:05:44 +04:00
2023-12-29 04:50:22 +04:00
2026-05-14 12:45:26 +02:00
2023-04-19 23:47:38 +04:00
2024-08-23 18:44:16 +04:00
2024-08-23 18:44:16 +04:00
2026-03-09 14:32:10 +01:00
2024-11-07 18:05:26 +01:00
2025-10-21 18:28:45 +04:00
2024-06-07 09:51:45 +04:00
2024-06-18 18:57:32 +04:00
2026-05-27 19:05:44 +02:00
2023-06-30 19:48:37 +02:00
2025-06-19 01:26:50 +02:00
2023-04-19 23:47:38 +04:00
2023-09-24 00:45:38 +04:00
2026-04-22 00:32:34 +04:00
2025-03-07 17:52:50 +01:00
2026-05-05 14:57:06 +02:00
2021-11-11 21:35:11 +04:00
2026-05-28 15:17:57 +01:00
2024-01-14 16:46:26 +04:00
2025-08-26 15:44:41 +04:00
2021-09-19 13:55:17 +03:00
2026-03-18 00:27:13 +01:00
2021-09-20 01:12:06 +03:00
2025-12-01 19:54:58 +04:00
2026-04-28 20:35:06 +02:00
2024-07-30 23:44:19 +08:00
2026-05-14 12:45:26 +02:00
2022-05-08 19:34:50 +04:00
2024-10-25 11:24:06 +02:00
2023-07-21 19:58:19 +04:00
2023-07-27 18:44:11 +04:00