mix of uploads and link embeds in the same message are embedded in the wrong order

(#1874) Bug Fixed embeds media mobile

Observed behaviour

link embeds show up before uploads

Reproduction steps

  1. send a message with both a link that embeds and an uploaded file

Build information

Version 1.0.0, Beta 25, Channel Beta, Build 29, iOS 18.7.8 (arm64), Device iPhone17,1, Locale en-US, Push apns, Flutter 3.44.2, Dart 3.12.2

Platform

iOS

Details

Expected behaviour at least on the web app, uploads are embedded before the link embeds
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by Vahste
Vahste 1 vote
Can reproduce CR Version 1.0.0, Beta 25, Channel Beta, Build 2090, Android 16 (arm64), Device samsung SM-A176U1, Locale en-US, Push fcm, Flutter 3.44.2, Dart 3.12.2
Comment by Radiant Xyz
Can reproduce It is in fact the wrong way around. Desktop: image attachment first, rich link preview second. Mobile (wrong): rich link preview first, image attachment second; Version 1.0.0, Beta 32, Channel Beta, Build 2160, Android 16 (arm64), Device samsung SM-S938B, Locale de-DE, Push fcm, Flutter 3.44.5, Dart 3.12.2