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:
parent
739a120cf0
commit
be58e1095e
3 changed files with 17 additions and 5 deletions
|
@ -100,6 +100,7 @@ function createRoom(opts) {
|
|||
dis.dispatch({
|
||||
action: 'view_room',
|
||||
room_id: roomId,
|
||||
should_peek: false,
|
||||
});
|
||||
}
|
||||
return roomId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue