element-hq / element-hq/element-android

How to remove old session instead of saving in user storage for long time

Open
#5,574 3 comments 0 reactions 0 assignees View on GitHub
T-Enhancement X-Needs-Investigation Z-Realm
Dominant language
Kotlin
Stars
3.7k
Forks
917
Avg merge
8d 20h
Merged PRs (30d)
1

Description

### Your use case

#### What would you like to do?
function to remove old session

#### Why would you like to do it?
because it growth storage user memory

#### How would you like to achieve it?
If matrix can do automatically remove the old session if no long use.
![session matrix](https://user-images.githubusercontent.com/6707224/158964149-db42dba4-e74f-4e59-a1f7-897593ed2727.jpg)

### Have you considered any alternatives?

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue does not name any files, tests, or entry points. Start by locating how Element Android stores and expires Matrix sessions, then define the inactivity rule and verify that old sessions are removed without affecting actively used sessions.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.