Skip to content

Commit

Permalink
fix: Fixed 'call.incoming_call' event (close #1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Mar 23, 2024
1 parent 380e0b2 commit 486df99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/call/events/registerIncomingCallEvent.ts
Expand Up @@ -35,7 +35,7 @@ function register() {
}
});

CallStore.on('change:_state change:state', (call: CallModel) => {
CallStore.on('change', (call: CallModel) => {
if (call.getState() === CALL_STATES.INCOMING_RING) {
internalEv.emit('call.incoming_call', {
id: call.id,
Expand Down

0 comments on commit 486df99

Please sign in to comment.