mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-25 10:42:17 -05:00
Fix excess reason condition wrapping
This commit is contained in:
parent
55f0ae9511
commit
cd3abcf0a7
@ -21,9 +21,7 @@ module.exports = HumanModel.define({
|
||||
var reason = reasonForEnding || 'success';
|
||||
this.contact.onCall = false;
|
||||
if (this.jingleSession) {
|
||||
this.jingleSession.end({
|
||||
condition: reason
|
||||
});
|
||||
this.jingleSession.end(reasonForEnding);
|
||||
}
|
||||
this.collection.remove(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user