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

New users cannot not read the room history after joining #15965

Closed
periodicpoint opened this issue Dec 14, 2020 · 4 comments
Closed

New users cannot not read the room history after joining #15965

periodicpoint opened this issue Dec 14, 2020 · 4 comments

Comments

@periodicpoint
Copy link

Description

The following problem persists in the web app in the browser (Brave Browser version 1.18.70 Chromium: 87.0.4280.101 (Official Build) (64-bit)) and in the desktop app (version: element-desktop 1.7.14-1.) under Arch Linux (64-bit).

New users are unable to see the room history after initially joining the room, even when the room security and privacy settings are set to “anyone” can read the room history. I tried different constellations and timings of settings, invitations, etc. without success. Changing the security setting has no effect whatsoever.

Steps to reproduce issue:

  1. Create a new room with enabled encryption.
  2. Post some messages in this room.
  3. Then invite new user to this room.
  4. Issue: The new members cannot read your previous messages nor the messages of anyone else.

Changing the settings have no effect

You can change the security settings of the room under: “Room info (i)“ > “Room settings” > “Security & Privacy” > “Who can read history?”. There you have the following four options:

  • Anyone
  • Members only (since the point in time of selecting this option) [Default]
  • Members only (since they were invited)
  • Members only (since they joined)

None of these options seem to have an effect on the visibility of the room history for new users. New room member are unable to see the room history irrespective of the option chosen.

Expected behaviour

The entire room history should be visible to new members unless the option “Members only (since they were invited)” or the option “Members only (since they joined)” is set. In particular, the room history should be visible if the option “Anyone” or the default option is set.

Maybe I am missing something and it is not a bug but a feature. But there should definitely be an option to make the room history visible to all subsequent members. This feature is important to avoid having to resend important standard information every time (resulting in bad redundancy). Only in this way can (growing) teams work effectively with element IMHO.

@jryans
Copy link
Collaborator

jryans commented Dec 16, 2020

Thanks for the report. This is a known issue that needs some technical design work to resolve. The room history settings do work as you expect them to in unencrypted rooms. And at a technical level, they "work" in an encrypted room: new users actually can receive the old encrypted messages, but they will be missing keys to decrypt them.

At the moment, Element Web hides these undecryptable messages to avoid presenting you with an ocean of error messages that you can't do anything to fix.

To resolve this, we'll need a way to somehow safely allow new members to decrypt old messages, but that will require some design work on the encryption side. Anyway, it's definitely something we want to fix, but it's a bit more complex than it seems on the surface.

I think we can use #13349 to track this, so I'll mark this as a duplicate.

@jryans jryans closed this as completed Dec 16, 2020
@periodicpoint
Copy link
Author

Thank you very much for your detailed answer. It now all makes sense to me. I can well imagine that this problem is cryptographically non-trivial. Your workaround sounds reasonable. Thanks again, I really appreciate it.

@IIerpos
Copy link

IIerpos commented Mar 17, 2022

I am still having this problem. Is there any progress on it at this point? Is there any workaround that I can use to allow people who join a room to get the message history at all on an encrypted room?

@sebastian-peter
Copy link

I'd also love to know if there's been any news on this. Issue seems to be described in element-hq/element-meta#1563 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants