Skip to content

Group DMs have no name #31276

@robintown

Description

@robintown

Steps to reproduce

This needs to be checked again:

  1. Start a new DM with at least 2 other people
  2. Look at the room list

What also (actually) does caue the issue:

  1. create a dm room
  2. give the room a name
  3. change the room name to empty. (remove the name and click save) (or set the state event manually)
  4. the m.room.name state event content will be {name: ""}
  5. check the room name and the room list (you will see what is presented below)

Outcome

What did you expect?

If I invite Alice and Bob to the room, the name shown in the client should be "Alice and Bob"

What happened instead?

The name is empty:

Image Image

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

No one assigned

    Labels

    A-DMsA-Room-ListA-Room-ViewO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectX-Needs-InfoThis issue is blocked awaiting information from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions