mirror of
https://github.com/iv-org/invidious.git
synced 2026-08-17 05:20:51 -05:00
Custom channel emoji are only carried in the attachment runs. The text content just holds the ":shortcode:" placeholder, which was rendered as-is because parse_description only handled commandRuns. Parse attachmentRuns alongside commandRuns, walking both in positional order since they index into the same string, and substitute the image. Standard unicode emoji are sent as attachment runs too, but their text content is already the emoji character and renders fine, so those are left as text rather than proxying an image for every one of them.