Skip to content

ElementR: client#scheduleAllGroupSessionsForBackup should be deprecated or supported in rust #26912

@BillCarsonFr

Description

@BillCarsonFr

https://github.com/matrix-org/matrix-js-sdk/blob/3c28cfc96ac6535b357b5e1d3b3180a0f00f87bb/src/client.ts#L3646

    public async scheduleAllGroupSessionsForBackup(): Promise<void> {
        if (!this.crypto) {
            throw new Error("End-to-end encryption disabled");
        }

        await this.crypto.backupManager.scheduleAllGroupSessionsForBackup();
    }

If called in rust crypto will wrongly fail with End-to-end encryption disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Element-RIssues affecting the port of Element's crypto layer to RustT-TaskTasks for the team like planningZ-Labs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions