fix clipping of a host name

This commit is contained in:
or-else
2022-06-27 17:48:38 -07:00
parent c7c2cffbbf
commit c31c0c2c07
7 changed files with 19 additions and 11 deletions
+9 -5
View File
@@ -9394,11 +9394,15 @@ class TinodeWeb extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
switch (info.event) {
case 'invite':
if (info.from != this.state.myUserId) {
this.setState({
callTopic: info.src,
callState: _constants_js__WEBPACK_IMPORTED_MODULE_13__.CALL_STATE_INCOMING_RECEIVED,
callSeq: info.seq
});
if (this.state.callState == _constants_js__WEBPACK_IMPORTED_MODULE_13__.CALL_STATE_NONE) {
this.setState({
callTopic: info.src,
callState: _constants_js__WEBPACK_IMPORTED_MODULE_13__.CALL_STATE_INCOMING_RECEIVED,
callSeq: info.seq
});
} else {
this.handleCallHangup(info.src, info.seq);
}
}
break;