Skip to content

Commit

Permalink
voice: don't clear reject timeout until connection fully resolved (#2421
Browse files Browse the repository at this point in the history
  • Loading branch information
amishshah committed Aug 9, 2018
1 parent 9dfcb61 commit 55863ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client/voice/VoiceConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ class VoiceConnection extends EventEmitter {
const { token, endpoint, sessionID } = this.authentication;

if (token && endpoint && sessionID) {
clearTimeout(this.connectTimeout);
this.status = VoiceStatus.CONNECTING;
/**
* Emitted when we successfully initiate a voice connection.
Expand Down

0 comments on commit 55863ef

Please sign in to comment.