Skip to content

Commit

Permalink
events. fixed closed call event
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyco97 committed Mar 28, 2024
1 parent 260e650 commit 092c67c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/phone/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ export function hangupCurrentCall() {
store.dispatch.player.stopAudioPlayer()
store.dispatch.currentCall.reset()
store.dispatch.listen.reset()

eventDispatch('phone-island-call-ended', {})
}
// Caller close the call before the call is accepted
eventDispatch('phone-island-call-ended', {})
}

/**
Expand Down

0 comments on commit 092c67c

Please sign in to comment.