1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Don't peek when creating a room

This causes a race between receiving the room when starting to peek and receiving the room from joining it - https://github.com/vector-im/riot-web/issues/4330, https://github.com/matrix-org/riot-web-rageshakes/issues/196
This commit is contained in:
Luke Barnard
2017-06-16 18:24:07 +01:00
parent 739a120cf0
commit be58e1095e
3 changed files with 17 additions and 5 deletions

View File

@@ -100,6 +100,7 @@ function createRoom(opts) {
dis.dispatch({
action: 'view_room',
room_id: roomId,
should_peek: false,
});
}
return roomId;