Room renamed to "Empty room" after creation
Steps to reproduce
- Where are you starting? What can you see? I've created a space within a space within a space - a sub-sub-space
- What do you click? I create a new Private room within that sub-sub-space and give it a name
- More steps… The room is called "Empty room", even though the name I've given it is visible in room history

Outcome
What did you expect?
I expected the room to be called "A room"
What happened instead?
The room is called "Empty room"
Operating system
Windows 11 Home 21H2
Application version
Element Nightly version: 0.0.1-nightly.2022061501 Olm version: 3.2.8
How did you install the app?
From https://element.io/get-started#nightly
Homeserver
matrix.org
Will you send logs?
Yes
I am not able to reliably reproduce this issue. Newly created rooms seem fine:

Maybe the rageshake details can help.
I am hitting this issue with an end-to-end test I am writing with cypress. The test is hitting this problem quite often, I'd say at least half of the times. Even using a timeout of 5s after filling in the room name before clicking the create room button doesn't help.
One of our customer is reporting the same issue. After refresh, the room gets its correct name.
This can affect the avatars around the RoomView too
This causes not infrequent test flakes