EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

Nested quote attachments do not render message content or media correctly

Open Khizarshah01 opened this issue 1 month ago • 4 comments

Description:

Media attachments (images, audio, video) inside quoted messages are not rendered correctly when they are nested inside another attachment structure.

Additionally, when a nested quote contains only text (no media), the UI incorrectly displays a download icon and a (0.00 kB) file size, which is misleading.

Steps to reproduce:

  1. Send a message containing a media attachment (image/audio/video).
  2. Quote that message.
  3. Quote the quoted message again (nested quote).
  4. Observe how the content is rendered inside the nested quote.

The same issue also occurs with nested text only quoted messages.

Expected behavior:

  • Images should render as images.
  • Audio and video should render with the appropriate player.
  • Text only quotes should render as text without download icons.
  • File size metadata should not display 0.00 kB when size information is unavailable.

Actual behavior:

  • Media inside nested quotes is displayed as a generic document icon instead of rendering the media.
  • A misleading (0.00 kB) file size and download icon appear for nested text-only quotes.

Nested text-only quote issue:

Image

Nested media quote issue:

Image

Khizarshah01 avatar Jan 16 '26 14:01 Khizarshah01