Skip to content
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

Message history not shown in encrypted room #19231

Closed
kittykat opened this issue Sep 30, 2021 · 8 comments
Closed

Message history not shown in encrypted room #19231

kittykat opened this issue Sep 30, 2021 · 8 comments
Labels
A-E2EE A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@kittykat
Copy link
Contributor

kittykat commented Sep 30, 2021

Steps to reproduce

  1. Join an encrypted room with a message history and the following settings:
    Screenshot from 2021-09-29 11-51-26
    Screenshot from 2021-09-29 11-43-28

What happened?

What did you expect?

For timeline to load

What happened?

Can see only a few room events prior to joining and only one message (not that there are older pinned messages which I can read):

Screenshot from 2021-09-29 11-44-06

S-Major because I can't access the room history at all. Occasional because it requires encryption to be enabled.

URL for webapp

develop.element.io

Have you submitted a rageshake?

No

@kittykat kittykat added T-Defect S-Critical Prevents work, causes data loss and/or has no workaround A-E2EE A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely labels Sep 30, 2021
@novocaine
Copy link
Contributor

This is probably a duplicate of #16983

@kittykat
Copy link
Contributor Author

Might be a duplicate of #18325 but clicking on the timestamp doesn't load history for me beyond one message back.

Workaround from #16983 (switching to another room and back) doesn't work.

Anything I can do to help debug as this is still reproducible a day later?

@novocaine
Copy link
Contributor

Does it repro with pinned messages switched off?

@kittykat
Copy link
Contributor Author

Yes, with pinning switched off, I can't trigger any of the older messages to load. I still can't access old messages in that room

@t3chguy t3chguy added the X-Needs-Info This issue is blocked awaiting information from the reporter label Oct 19, 2021
@t3chguy
Copy link
Member

t3chguy commented Oct 19, 2021

The issue here is you don't have any keys for this room, as you are only sent keys

  1. at message send time, if you are joined/invited to the room, but you weren't for historic messages
  2. at invite time, by the inviter, but since you self-joined, no one will send you historic keys

This looks like a duplicate of element-hq/element-meta#647 to me

@kittykat
Copy link
Contributor Author

I'm trying to verify if I was invited or given a link for the room (search isn't working for me right now so I can't do that easily). Not being able to read the messages means that I can't do my work effectively. Can there be a way to re-request the keys from someone else?

@t3chguy
Copy link
Member

t3chguy commented Oct 19, 2021

Even if you were invited, the share-keys-on-invite is best effort and only supported when being invited by Web/Desktop, best effort meaning only certain megolm sessions are marked in a way which makes them shareable, there's a lot of edges you need to hit to reach the happy path.

Can there be a way to re-request the keys from someone else?

That's element-hq/element-meta#647

@kittykat
Copy link
Contributor Author

I'll close this for now as I can't verify how I joined the room right now.

Duplicate of element-hq/element-meta#647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Timeline O-Occasional Affects or can be seen by some users regularly or most users rarely S-Critical Prevents work, causes data loss and/or has no workaround T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

3 participants