nheko icon indicating copy to clipboard operation
nheko copied to clipboard

User display names and avatars are incorrect wrt. room state

Open Ralith opened this issue 7 years ago • 2 comments

Nheko currently keeps a global map of user IDs to display names. In addition to being a safety hazard, this causes the incorrect display name to be looked up for historical messages, e.g. if a user just changed it, and will give incorrect behavior if a user has different display names per-room. Display names should be tracked like any other room state, and displayed in events according to the state of the room when the event occurred.

Ralith avatar Nov 05 '17 21:11 Ralith

It looks like avatars have the same bug.

Ralith avatar Nov 05 '17 21:11 Ralith

Possibly related: #113

ollieparanoid avatar Nov 05 '17 21:11 ollieparanoid