chore: Use other join endpoint for room upgrades

This commit is contained in:
Krille 2025-03-13 09:07:01 +01:00
commit 97fad52c03
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -1070,7 +1070,7 @@ class ChatController extends State<ChatPageWithRoom>
void goToNewRoomAction() async { void goToNewRoomAction() async {
final result = await showFutureLoadingDialog( final result = await showFutureLoadingDialog(
context: context, context: context,
future: () => room.client.joinRoom( future: () => room.client.joinRoomById(
room room
.getState(EventTypes.RoomTombstone)! .getState(EventTypes.RoomTombstone)!
.parsedTombstoneContent .parsedTombstoneContent