element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
1.08k stars 155 forks source link

Sending media when there are unverified device fails without giving details about the issue. #3757

Closed bmarty closed 1 week ago

bmarty commented 2 weeks ago
  1. Have a unverified device.
  2. Try to send a text message
  3. An alert is displayed if I click on the error on the message
image
  1. Try to send an image
  2. On error is displayed without more details
image

The logs are not helpful:

org.matrix.rustcomponents.sdk.RoomException$FailedSendingAttachment: Failed sending attachment

CC @Hywan , maybe something to improve at the Rust level.

manuroe commented 2 weeks ago

I think you wanted to ping @bnjbvr 😛 .

We want to address this with local echo for media. See https://github.com/element-hq/element-internal/issues/433. It is listed as part of the user stories. We have not created the dedicated GH issue yet.

bmarty commented 1 week ago

I confirm that this issue is fixed with the Rust SDK 0.2.60. I can now send an image, which will fail but as per any other sent message:

image

Well done @bnjbvr !