element-hq / element-hq/element-android

Left and deleted room still visible

Open
#2,911 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Rooms left from Element Web and deleted using API `/_synapse/admin/v1/rooms/[room_id]/delete` are still visible on Element Android.

**To Reproduce**
Steps to reproduce the behavior:
1. Create an encrypted room on Element Web.
2. Access that room from Element Android.
3. Kill Element Android.
4. Leave that room from Element Web. Android app is inactive at the time.
5. Delete room via API.
6. Start Element Android, room is still visible, but the app crashes when e.g. Room addresses are accessed.
7. Additionaly it results to that room cannot be left on Element Android like #2745.

How to remove that room from list? Is it possible to clear cache like within Element Web?

**Expected behavior**
Room shall dissapear on Element Android when a sync is performed while starting or when the room is opened.

**Smartphone (please complete the following information):**
- Device: Mi 9T
- OS: Android 10

**Additional context**
- App version and store: Element Android 1.1.0 from GStore
- Homeserver: self hosted Synapse 1.27.0

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.