element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
Apache License 2.0
877 stars 114 forks source link

None of my DMs are listed under "People" in Element X #3074

Open barathrm opened 1 week ago

barathrm commented 1 week ago

Steps to reproduce

Log into element with lots of DMs associated with your account, with other matrix users, all encrypted.

Outcome

Testing out element X for the first time, I see that all of my rooms are listed under rooms, including all my DM rooms which are listed under "People" in Element web / element desktop.

Your phone model

Pixel 6a

Operating system version

Android 14 / GrapheneOS

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 1 week ago

Verified that my DM rooms have the m.direct flag set using devtools in element desktop, and have tried logging out and in again 2 times in element x android, as well as wiping the app storage.

barathrm commented 1 week ago

creating a new DM in element desktop, it popped up as a room, not a DM, in element X android. it correctly showed up as a DM in element dekstop.

bmarty commented 6 days ago

There is a possibility that the content of your account data m.direct is malformed, and in this case, EX just ignores the content and consider that there are no DM in your account.

In Element Web, you can in any room type /devtools in the composer then click Enter, then click on Explore Account data, then m.direct. Please ensure that all the userIds and roomIds have correct format. If this is not the case, you can edit the content to fix the error, and it should magically fix the issue on EXA.

Related: https://github.com/ruma/ruma/issues/1730