diff --git a/src/store/call/actions.js b/src/store/call/actions.js index 822e2f2c..5e6e8a2b 100644 --- a/src/store/call/actions.js +++ b/src/store/call/actions.js @@ -77,7 +77,9 @@ export default { } else if (options.cause && !errorVisibilityTimer) { context.commit('endCall', options.cause) errorVisibilityTimer = setTimeout(() => { - context.commit('hangUpCall') + if (context.state.callState === 'ended') { + context.commit('hangUpCall') + } errorVisibilityTimer = null }, errorVisibilityTimeout) }