Fix exception while creating a conversation
When confirming the creation of a one on one conversation with a new contact, the first click would do nothing but the second click would work. Now the first click works. Fix by only reject new conversation creation if not saved. // FREEBIE
This commit is contained in:
parent
4b0c70fb44
commit
8b27c99f2b
1 changed files with 2 additions and 1 deletions
|
@ -60,8 +60,9 @@
|
|||
saved.then(function() {
|
||||
resolve(conversation);
|
||||
}).fail(reject);
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
reject();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue