element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

Unjoined rooms are shown in pills as ugly raw room ID

Open ara4n opened this issue 4 months ago • 1 comments

Steps to reproduce

  1. Someone links to a room you’re not in via matrix.to
  2. The pill is super ugly - it just shows the raw room ID
  3. You tap on the pill
  4. You see a nice pretty room preview screen with name and avatar
  5. 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

ara4n avatar Aug 30 '25 10:08 ara4n

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.

Velin92 avatar Sep 01 '25 09:09 Velin92