mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-22 21:53:14 +00:00
Fix new room redirect
This commit is contained in:
1 parent
a38f15e032
commit
03379ac1a7
1 file changed
+2
-2
+2
-2
@@ -292,7 +292,7 @@ function JoinOrCreateRoom({ client }) {
|
||||
name: roomNameRef.current.value,
|
||||
})
|
||||
.then(({ room_id }) => {
|
||||
history.push(`/rooms/${room_id}`);
|
||||
history.push(`/room/${room_id}`);
|
||||
})
|
||||
.catch(setCreateRoomError);
|
||||
},
|
||||
@@ -307,7 +307,7 @@ function JoinOrCreateRoom({ client }) {
|
||||
client
|
||||
.joinRoom(roomIdRef.current.value)
|
||||
.then(({ roomId }) => {
|
||||
history.push(`/rooms/${roomId}`);
|
||||
history.push(`/room/${roomId}`);
|
||||
})
|
||||
.catch(setJoinRoomError);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user