krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
891 stars 151 forks source link

Images are duplicated when uploading #1092

Open SteffoSpieler opened 1 month ago

SteffoSpieler commented 1 month ago

Bug Description

When uploading a file, the compressed version gets saved into /storage/emulated/0/Pictures, which results in being shown (and saved) twice in photo apps like Google Photos.

Steps to Reproduce

  1. Click on the plus.
  2. "Send Image"
  3. Select an image.
  4. Send it.
  5. See the image appear in /storage/emulated/0/Pictures - with a different file name (for me, its JPEG_20240507_135654_3696648213866645545.jpg).

Expected Behavior

The compressed image shouldn't get saved into /storage/emulated/0/Pictures.

App Version

1.20.0

Additional Platform Information

Device: Pixel 7 Pro (Android 14)

Additional Context

No response