Fail to display timeline history when joining E2E room.
See original GitHub issueSteps to reproduce
- Invited to e2e room and immediately join (this is a remote join if it makes a difference)
Outcome
Join the room, get told: You can't see earlier messages \n Encrypted messages before this point are unavailable.
Operating system
Ubuntu
Browser information
Version 103.0.5060.114 (Official Build) (64-bit)
URL for webapp
develop.element.io
Application version
Element version: 3e3f279469ad-react-a866005bea85-js-3907d1c28f87 Olm version: 3.2.12
Homeserver
jki.re
Will you send logs?
Yes
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Room history sometimes not visible even when historical room ...
I'm invited into an e2ee room which has some history. Element web shows a blank timeline apart from my invite & join event....
Read more >E2E Encryption by Default & Cross-signing is here!! - Element
Ability to search encrypted rooms. Ability to view file indexes in encrypted rooms. Fixing remaining “Unable to decrypt” errors.
Read more >Failbot—Improving Visibility on End-to-end Tests
When one end-to-end test fails, we see it right away. End-to-End result history using Project Monitor. Figure 1. Global End-to-End build history. This...
Read more >Client-Server API - Matrix.org
The client attempted to join a room that has a version the server does not support. Inspect the room_version property of the error...
Read more >End to End Hiring Initiative - OPM
applicant to demonstrate possession of ECQs in a more narrative form. ... End-to-End (E2E) Hiring Initiative: OPM joined with the Chief Human Capital ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s worth noting that Element only concerns itself with the most recent unable-to-decrypt message, and won’t show any messages before that, even if it has successfully decrypted them. (see https://github.com/matrix-org/matrix-react-sdk/blob/v3.60.0/src/components/structures/TimelinePanel.tsx#L1555-L1566) It’s far from clear to me that that is intended behaviour.
There’s a another issue with e2e rooms for space members - “Users joining a private room within a space via “restricted” join rule have no way of accessing history” (https://github.com/vector-im/element-meta/issues/646). Allowing room admins to select all three of
Encrypted
,Access - Space members
, andMembers since the point in time of selecting this option
produces a result that does not work. Inviting a space member to the group does not send the keys. Ironically making the rooms private and then explicitly inviting members does work, but defeats the purpose of a space membership.There is a proposal to add a way to manually request access from other members (https://github.com/vector-im/element-meta/issues/750). Until then it seems like a warning that “this feature does not work (yet)” would be appropriate for space rooms to avoid creating lots of debugging confusion.