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:
@@ -60,8 +60,9 @@
|
||||
saved.then(function() {
|
||||
resolve(conversation);
|
||||
}).fail(reject);
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
reject();
|
||||
});
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user