element-hq / element-hq/element-x-android

Redacted join events display as an empty box in the timeline

Open
#3,575 0 comments 0 reactions 0 assignees View on GitHub
O-Uncommon S-Tolerable T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Join a user to a room
2. Redact that user's join event
3. Observe that EX renders an empty "room change" line (e.g. https://matrix.to/#/!aCvOWKNDeXXpPgquKq:matrix.org/$cZVjfEH3VJM0AWToXwNWQwdFl4Oiwo27wXsNCVxb_Zg?via=matrix.org&via=tchncs.de&via=envs.net)

Alternatively wait for a spammer to join the EXA room and the Administrator account to ban them and redact their join event, like the linked message above.

### Outcome

#### What did you expect?
To read either `$user joined the room` or `$user joined the room and was removed` or something like that.
Element Web simply renders `$user joined the room`

#### What happened instead?
No text is rendered

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

_No response_

### Homeserver

_No response_

### Will you send logs?

Yes

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.