-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to display timeline history when joining E2E room. #22999
Comments
This issue also applies if there's unencrypted messages before join: they are hidden. |
Reincarnation of #16983 |
Adding context from #23429. Also to note, for users with only one room, it's impossible to perform this workaround, so they can't recover history. Steps to reproduce
OutcomeWhat did you expect?When I join a room, I should see history, even if it takes time to load. What happened instead?I have to click around the UI to load messages. |
I could mention that the vast majority of our users have a single room and cannot use the workaround. And the flaw is devastating since this single room is often used to bring in new collaborators when there is already a lot of history in the room. |
I just want to drop my 2 cents on this issue (it is happening to me as well here) The old history might be getting stopped if it fails to decrypt a message (either can't or hasn't gotten a decryption key from a user) as the preview in the room list suggests a key was withheld. My android session actually has the older history. It's just the desktop and web clients for me that are unable to do so at all. |
Please can people seeing this make sure that they send a rageshake from their device, and get the person who sent them an invite to send a rageshake too. In the case of @erikjohnston's original report the problem seems to have been on the inviter's side, but we don't have any logs from the inviter to investigate. |
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. |
This is exactly the issue I'm trying to describe. I've used other clients (not forked from Element) and those clients show all the history going beyond the messages that it couldn't decrypt. |
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" (element-hq/element-meta#646). Allowing room admins to select all three of There is a proposal to add a way to manually request access from other members (element-hq/element-meta#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. |
There doesn't seem to be much left to do here.
|
Steps to reproduce
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: 3e3f279-react-a866005bea85-js-3907d1c28f87 Olm version: 3.2.12
Homeserver
jki.re
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: