Cancelling the upload of >1 image results in posting an empty message

(#1742) Bug Fixed media mobile

Observed behaviour

An empty message is posted. Uploading one attachment and cancelling behaves correctly. Tested with 2, 3, and 4 image files; I am assuming this manifests with any type of attachment and >4 items.

Reproduction steps

  1. Tap the + to attach a file
  2. Attach more than one file
  3. Before it finishes uploading, cancel the upload

Build information

Beta 60, Version 1.0.0, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.44.2, Dart 3.12.2

Platform

Android

Details

Expected behaviour The message should be cancelled entirely.
  • image.png

    image.png

    358×185 | 10 kB

  1. Rex changed the status from Needs triage to Fixed

1 comment

Sign in with Fluxer to comment and vote.