Remove unnecessary if
This commit is contained in:
parent
a8165d1707
commit
26cb1404c2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue