cinnyapp / cinny

Yet another matrix client
https://cinny.in
GNU Affero General Public License v3.0
1.87k stars 242 forks source link

Creating a room temporary displays "welcome to empty room" #430

Closed arnopensource closed 2 years ago

arnopensource commented 2 years ago

Describe the bug

When creating a room, the content of the message area displays « Welcome to empty room » Going to another room and coming back will change the message to « Welcome to \<room name> » image

Reproduction

  1. Create a room with a custom name

Expected behavior

The welcome message should display the name of the room

Platform and versions

1. OS : Debian 11
2. Browser : Firefox Developper Edition 99.0b8
3. Cinny version : dev (9cb13a91cd889320f5044c1921d9a48c1d6a2091)
4. Home server : matrix.org

Additional context

No response

kfiven commented 2 years ago

This is not a Cinny issue afaik. It depends upon how fast server send the room name and description after creation.

So if you try it on a fast server, this can't be produced but with slow server this happens.

arnopensource commented 2 years ago

I think we can do something about it since at the top of the room the name is displayed correctly ! My guess is that the top of the room use the local name and the timeline wait for the server ?