Unjoined rooms are shown in pills as ugly raw room ID
Steps to reproduce
- Someone links to a room you’re not in via matrix.to
- The pill is super ugly - it just shows the raw room ID
- You tap on the pill
- You see a nice pretty room preview screen with name and avatar
- You wonder why the app didn’t show you that on the pill.
Outcome
What did you expect?
Pretty pills
What happened instead?
Very ugly unusable pills
Your phone model
No response
Operating system version
No response
Application version
1003
Homeserver
No response
Will you send logs?
No
This is intended, and the reason we are not showing any info on the room is that we do not want to overload the app with API requests to fetch the preview informations of a room if is not joined (which could also be used maliciously by a user that would spam a lot of unjoined room pills) until you tap on it, since when the room is joined the SSS and the SDK take care of caching that information so that can be presented directly from the store. EW does something similar, however it has a nice caching mechanism, where if you preview the room but do not join it, it will cache its info, so that next time you see the pill it will be filled, this is a nice to have functionality that the SDK and the new apps could implement.
Will mark this as enhancement and set the needs product flag.