hopefully fix vector-im/vector-web#1813
This commit is contained in:
parent
bfe50c209c
commit
2bc9dd4307
2 changed files with 29 additions and 7 deletions
|
@ -69,6 +69,10 @@ function createRoom(opts) {
|
|||
return client.createRoom(createOpts).finally(function() {
|
||||
modal.close();
|
||||
}).then(function(res) {
|
||||
// NB createRoom doesn't block on the client seeing the echo that the
|
||||
// room has been created, so we race here with the client knowing that
|
||||
// the room exists, causing things like
|
||||
// https://github.com/vector-im/vector-web/issues/1813
|
||||
dis.dispatch({
|
||||
action: 'view_room',
|
||||
room_id: res.room_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue