fix (frontend-assist): fix call end after 5 sec

This commit is contained in:
ShiKhu 2021-07-12 17:33:58 +03:00
parent 6e5164a036
commit c11251013c

View file

@ -204,7 +204,7 @@ export default class AssistManager {
});
const intervalID = setInterval(() => {
if (!conn.open) {
if (!conn.open && getState().calling !== CallingState.Requesting) {
this.md.setMessagesLoading(true);
this.assistentCallEnd();
update({ peerConnectionStatus: ConnectionStatus.Disconnected })