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

Catch IllegalStateException for invalid room IDs

Open HarHarLinks opened this issue 1 year ago • 0 comments

Steps to reproduce

  1. join !urandom, version 9️⃣:maunium.net
  2. log into eax
  3. skip verification i guess
  4. boom

Outcome

What did you expect?

robustness

What happened instead?

app crashes immediately as it learns about the room. android logcat:

05-20 00:53:41.117  3553  3592 V org.matrix.rust.sdk: elementx: Uncaught exception: java.lang.IllegalStateException: `!urandom, version 9️⃣:maunium.net` is not a valid room id.

can't rangeshake since the app crashes hard...

Your phone model

No response

Operating system version

No response

Application version and app store

0.4.12 fdroid debug flavor selfbuilt

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

No

HarHarLinks avatar May 20 '24 01:05 HarHarLinks