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

Creation of empty room after a very long room name with emoji's

Open
#5,024 1 comment 0 reactions 0 assignees View on GitHub
A-Room O-Uncommon S-Minor T-Defect X-Needs-Product
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Where are you starting? What can you see?
I creating a new room. I see the window of the room creation.

2. What do you click?
I click on the naam input field and put 500 emoji's in it. I get the error: An error occurred when creating a room.
When i do this on the web element x then i get the error of payload is to long.

### Outcome

#### What did you expect?
I expect a good error message in the android app. Something like in the web version.
And there must not be an empty room.

#### What happened instead?
But when I do it in android and in web after the error I click cancel for creating the room. But there is a empty room created.

### Your phone model

google 8a

### Operating system version

Android 16

### Application version and app store

Element X 25.06.02

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue through the Android room-creation flow using a very long emoji-only room name, then compare the resulting behavior with the web version's payload-too-long error. The work is done when the Android app reports a useful validation error and does not leave an empty room after cancellation or failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.