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

UTDs of recent history on fresh login #3234

Closed ara4n closed 1 week ago

ara4n commented 3 months ago

Steps to reproduce

  1. Log in on fresh EXA (today's 0.4.17-nightly)
  2. Verify new login via emoji verif with ED
  3. Observe recent message history is undecryptable. Older message history is okay.

This error is twinned with https://github.com/element-hq/element-x-ios/issues/3055 and https://github.com/element-hq/element-x-ios/issues/3045

Outcome

What did you expect?

All history should be undecryptable.

What happened instead?

Recentish messages are undecryptable. Clearing cache however fixed this (although then the previously undecryptable messages still show as UTDs in the embedded replies, even though the msgs themselves now decrypt)

Your phone model

Samsung S10

Operating system version

No response

Application version and app store

0.4.17-nightly

Homeserver

matrix.org

Will you send logs?

Yes

Are you willing to provide a PR?

No

richvdh commented 3 months ago

Since this seems common to EXI and EXA, and likely a problem in the rust layer, I have pulled out a common issue to track fixing this in the rust layer: https://github.com/matrix-org/matrix-rust-sdk/issues/3768

manuroe commented 1 week ago

It was fixed some time ago in the SDK. We should have closed the issue at the same time as its iOS sister, https://github.com/element-hq/element-x-ios/issues/3055.