Skip to content

Downgrades should gracefully handle local state in a newer version than expected #7735

@jryans

Description

@jryans

We should isolate state from different instances from Riot on the same domain such as (riot.im/app and riot.im/develop).

At the moment, you could open any version of Riot Web from the same domain, and they will all access the same browser state. Newer branches (such as /develop) might upgrade local state to a newer version, rendering it unusable by older branches (such as /app).

This kind of corruption caused E2E message keys to be lost (via crypto DB version changes) in #7734.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2T-TaskTasks for the team like planning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions