Skip to content

Element sometimes fails to render display names and revers to showing the users MXID #19293

@Twi1ightSparkle

Description

@Twi1ightSparkle

Description

This issue is a copy of element-hq/element-web#31300 at the request of the Element Web team. See the privately linked GitHub issue and support ticket for additional details.

Note, these screenshots are from the customers production environment, so I have to redact full names and MXIDs. Properly rendered display names and room names redacted in blue, Matrix IDs redacted in red, room/user avatars redacted in black, and messages redacted in green. Unredacted screenshots and logs from Element and Synapse are available in the privately linked support ticket.

The customer does not use GroupSync.

The customer also said:
Q: Does this affect all members of the room at the same time, and for the same users? Does it resolve it self for everyone at the same time? Or is it different for different people?
A: It is not the same for all members or for same users. If I have a user with numeric I get a proper display name as soon as I start writing text in the chat with the user. After one digit it is OK. After restart of App the numeric is back.

The steps to trigger this on a fresh environment are unknown.


Image

When started typing the names appeared in the right column

Image

The Matrix IDs shown

Image

After the users responds to the display name reverts back to proper name again


For this user new posts has correct display name, but old posts doesn't change

Image

Entering crtl + shift + I & ctrl + R, the display name reverts to the MXID

Steps to reproduce

Unknown, see details above.

Homeserver

N/A

Synapse Version

Synapse v1.129.0-lts.6 and possibly earlier versions of thi Synapse LTS that was used in older ESS Classic 25.04 versions

Installation Method

Other (please mention below)

Database

Running postgres in podman containers on a RHEL 8 machine. postgres:16.0-bookworm image. just 1 postgres db on the same namespace with the dbs integrator and synapse. Not restored from backup

Workers

Multiple workers

Platform

deploy in openshift with yaml config that we got from the installer. 25.10.01 atm.

Configuration

When the users log in first time we set a displayname for them

and we have this setting enable_set_displayname: false in synapse additional config so they cannot change it.

Relevant log output

Available in the privately linked support ticket

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions