question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail to display timeline history when joining E2E room.

See original GitHub issue

Steps to reproduce

  1. 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:open
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
richvdhcommented, Nov 16, 2022

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.

0reactions
osresearchcommented, Dec 2, 2022

image

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, and Members 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found