Files
element-x-android/features
hayaksi1 04dcc14eaa Show an error when the room to leave cannot be found
showLeaveRoomAlert ran its whole body inside client.getRoom(roomId)?.use { }.
When getRoom returned null, which happens for a room the client can no longer
resolve, the body was skipped without writing any state: leaveAction stayed
Uninitialized, so no confirmation dialog and no error was displayed and
Leave room appeared to do nothing at all.

Handle the missing room explicitly and surface it as a failure, which
AsyncActionView already renders with the generic error dialog. leaveRoom used
a !! for the same lookup, so it reported the miss as a NullPointerException;
it now throws the same named exception.
2026-08-16 22:44:29 +03:00
..
2026-08-11 09:27:29 +02:00
2026-07-13 12:21:55 +02:00
2026-06-29 14:09:36 +02:00
2026-08-14 12:20:49 +02:00
2026-07-13 12:21:55 +02:00
2026-08-11 09:27:29 +02:00
2026-08-12 11:00:55 +02:00
2026-08-11 09:27:29 +02:00