-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
matrix-org/matrix-js-sdk
#5081Labels
A-DMsA-Room-ListA-Room-ViewO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectX-RegressionX-Release-Blocker
Description
Steps to reproduce
- create a dm room
- give the room a name
- change the room name to empty. (remove the name and click save) (or set the state event manually)
- the
m.room.namestate event content will be{name: ""} - check the room name and the room list (you will see what is presented below)
Outcome
What did you expect?
If Alice and Bob are the other participants in the room, the name shown in the client should be "Alice and Bob".
For reference, I expect this behavior because https://spec.matrix.org/unstable/client-server-api/#mroomname says that empty name fields should be treated the same as if no name was ever set.
What happened instead?
The name is empty:
Operating system
NixOS 25.05
Browser information
Firefox 145.0
URL for webapp
develop.element.io
Application version
Element version: dd89cee-js-c7a75c882479 Crypto version: Rust SDK 0.14.0 (c3b7918), Vodozemac 0.9.0
Homeserver
Synapse 1.135.2
Will you send logs?
No
Metadata
Metadata
Assignees
Labels
A-DMsA-Room-ListA-Room-ViewO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-DefectX-RegressionX-Release-Blocker