DM preview shows JSON if the most recent message contains only an embed

(#1974) Bug Fixed dms embeds mobile

Observed behaviour

JSON is shown instead

Reproduction steps

  1. Receive a DM consisting of only an embed
  2. Look at the preview

Build information

Version 1.0.0, Beta 39, Channel Beta, Build 45, iOS 16.6 (arm64), Device iPhone10,3, Locale en-US, Push apns, Flutter 3.44.7, Dart 3.12.2

Platform

iOS

Details

Expected behaviour Preview should be empty/show some text content from the embed
  • image.jpg

    image.jpg

    930×180 | 27 kB

  • image.png

    image.png

    1125×2436 | 513 kB

  1. Rex changed the status from Needs triage to Fixed

1 comment

Sign in with Fluxer to comment and vote.
Comment by mesub
mesubMod 1 vote
Can reproduce Acceptable & Valid on Beta 39, Build 45.