mirror of https://github.com/vector-im/riot-web
Remove unnecessary if
parent
a8165d1707
commit
26cb1404c2
|
@ -80,7 +80,7 @@ function createRoom(opts) {
|
|||
|
||||
let roomId;
|
||||
return client.createRoom(createOpts).finally(function() {
|
||||
if (modal) modal.close();
|
||||
modal.close();
|
||||
}).then(function(res) {
|
||||
roomId = res.room_id;
|
||||
if (opts.dmUserId) {
|
||||
|
|
Loading…
Reference in New Issue