Skip to content

Why history messages are not visible to invited users in encrypted rooms even after settings says it should #21072

@MrJai

Description

@MrJai

Steps to reproduce

Background:

We are trying to implement a mobile app with end-to-end encryption but providing past messages history to new members joining the group is a key thing we need.

Plan:

We were planning to use olm/megolm and matrix-SDK, and then we tried to test our use cases with Element.io (web, desktop, ios, android) versions.

Issue:

History wasn’t available for new users in a room. Since then we have been studying it, the documentation says it should work by sharing keys, but it is not working with Element clients. We have tried all possibilities of inviting a user from different clients and then accepting the invitation from different clients but the new user is either not able to see the history at all or it is broken (like some messages say keys are not shared, or not possible to show).

We are following these issues from different related repositories, they are also talking about similar or same issues and are not able to fix the issue, but we are not sure what are the reasons for not being able to fix/implement this feature of sharing history with new group member by sharing the keys.

element-web#2286

element-web#2713

matrix-react-sdk#5763

Request:

It will be a huge favour if anyone of you can document the reasons why we have not been able to implement this feature till now, what are the issues that even when the client and the documentation says that it should work, but it is still broken.

Outcome

What did you expect?

Every new member in the end-to-end encrypted private room should be able to see the history when in the settings we have selected "Anyone" for who can watch the history.

What happened instead?

Either it doesn't show anything as if it is a new room and there is no previous message, or it shows waiting for messages/keys, or it shows other warnings/informations but never shows the actual messages.

Operating system

macOS

Application version

Element version: 1.10.1 Olm version: 3.2.8

How did you install the app?

From element.io website I downloaded the dmg file.

Homeserver

matrix.org.

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EET-DefectX-Needs-InfoThis issue is blocked awaiting information from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions