Skip to content

Commit

Permalink
Revert "fix for un-emitted registeredFailed event"
Browse files Browse the repository at this point in the history
This reverts commit 94ba60d.
  • Loading branch information
jmillan committed Jan 10, 2013
1 parent 94ba60d commit 8cb5b2e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/RequestSender.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/**
* @fileoverview Request Sender
*/
Expand Down Expand Up @@ -122,8 +123,6 @@ JsSIP.RequestSender.prototype = {
}

this.send();
} else {
this.applicant.receiveResponse(response);
}
} else {
if (this.challenged && response.status_code >= 200) {
Expand All @@ -132,4 +131,4 @@ JsSIP.RequestSender.prototype = {
this.applicant.receiveResponse(response);
}
}
};
};

0 comments on commit 8cb5b2e

Please sign in to comment.