element-hq / element-hq/synapse

room stays unread if no messages due to retention policy

Open
#10,787 1 comment 0 reactions 0 assignees View on GitHub
A-Message-Retention-Policies S-Major T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#10787](https://github.com/matrix-org/synapse/issues/10787).

---

Initial report here: https://github.com/vector-im/element-web/issues/14976

### Description

If older messages gets removed due to retention policies and no new messages after retention time, room becomes unread forever until new message is inserted.

Tested clients: Element (web, Android and iOS)

### Steps to reproduce

- make new room
- set retention policy to short time
- send message and wait until retention kicks in
- clear client's cache and reload
- room stays unread

### Version information

- **Homeserver**: kvlt.ee

- **Version**: `{"server_version":"1.41.1","python_version":"3.7.3"}`

- **Install method**: pip

- **Platform**: Debian Buster

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.