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.01k stars 137 forks source link

Cross-verification does not work on first try #3075

Open barathrm opened 3 months ago

barathrm commented 3 months ago

Steps to reproduce

  1. log in on element x android
  2. when verification is asked for, accept and click start on element desktop
  3. element desktop is stuck saying "waiting" and element x android is waiting forever as well
  4. abort both (cancel desktop, go back once on android), then try again, and it will work

Outcome

What did you expect?

cross-verification to work on first try

What happened instead?

Had to try twice.

I was able to reproduce this by logging out and logging in again on android.

Your phone model

pixel 6a

Operating system version

android 14

Application version and app store

0.4.14

Homeserver

matrix.org

Will you send logs?

Yes

Are you willing to provide a PR?

No

barathrm commented 3 months ago

Tried logging out and in again, and this time it took 6 tries IIRC. Tried cross-verifying from schildichat, element desktop, and tried closing and reopening the element x app in-between as well as going all the way back to the start in the verification flow in element x instead of just hitting "retry".

In the end it worked, but I don't know why it finally worked. The cross-verification requests always popped up immediately in element desktop and schildichat.

rhusiev commented 3 months ago

I had the same issue, but it also did not import any chats - I'm not sure whether it's because the verification did not complete as expected or because of something else