Skip to content

Conversation

@ruleechen
Copy link
Contributor

No description provided.

@ruleechen ruleechen requested a review from huanhulan July 26, 2018 08:35
);

let _fromSessionId;
let _lastCallInfo = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

start with null

} else if (_lastCallInfo.calleeType) {
} else if (
_fromSessionId === fromSessionId
&& _lastCallInfo.calleeType
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then because if we start it with null, then there is chance this would throw a type error: can not read property calleeType on null

@huanhulan huanhulan merged commit da9c88a into ringcentral:master Jul 26, 2018
@ruleechen ruleechen deleted the RCINT-8108 branch July 26, 2018 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants