element-hq / element-hq/dendrite

Scrollback shows mxids and blank avatars after a certain point

Open
#2,734 7 comments 0 reactions 0 assignees View on GitHub
C-Sync-API T-Defect
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@0x1a8510f2**](https://github.com/0x1a8510f2) at .*

### Background information

- **Dendrite version or git SHA**: d5978d98fda8a31918973a2481e62eafcec9f80f (but bug noted in every version so far)
- **Monolith or Polylith?**: Monolith
- **SQLite3 or Postgres?**: Postgres
- **Running in Docker?**: Yes
- **`go version`**: n/a
- **Client used (if applicable)**: Element Web / Element Android

### Description

- **What** is the problem: When scrolling back in the timeline, messages after a certain point do not show the sender's displayname or avatar, only their mxid.
- **Who** is affected: Users of the homeserver.
- **How** is this bug manifesting: Missing user avatars and displaynames in scrollback.
- **When** did this first appear: Since I've been using Dendrite.

### Steps to reproduce

- Open any room
- Scroll up

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by opening a room and scrolling up in Element Web or Element Android against the Dendrite monolith using Postgres in Docker. Compare the timeline responses before and after the point where sender display names and avatars disappear, then trace the relevant Dendrite timeline and user-profile handling. Done means scrollback consistently shows the sender display name and avatar instead of only the mxid.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, postgresql
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.