element-hq / element-hq/synapse

Updating avatar also unsets unread notification counts for all rooms

Open
#16,373 0 comments 0 reactions 0 assignees View on GitHub
X-Needs-Info
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

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

---

### Description

Similarly to https://github.com/matrix-org/synapse/issues/16059 setting a new avatar via `/_matrix/client/v3/profile/{userId}/avatar_url` also marks all notifications as read, as in, marks all rooms that have "unread notifications" as done.

### Steps to reproduce

- have a room with unread messages
- set a new avatar in your settings
- see the notification count disappearing

---

None of the platform-specific details below are relevant; this issue is more to discuss if this behavior is really intended.

### Homeserver

/

### Synapse Version

v1.92.3

### Installation Method

Docker (matrixdotorg/synapse)

### Database

PostgreSQL

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.