element-hq / element-hq/element-ios

Why aren't outbound group sessions persisted in the store and reused accross app launches?

Open
#1,933 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

I've been studying the Riot iOS code and noticed that the group outbound session is recreated for each room on every app launch and then cached for the current run.

I'm wondering why aren't the outbound group sessions persisted to disk and used for longer?

I mean there's a noticeable overhead of always sending the room key for a new session after each app start. Is there a reason why this approach was chosen?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.