Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where calls could break if rejected from somewhere else (#2189)
* Fix bug where calls could ignore new events of rejected from somewhere else When callEventHandler passed a reject event to the call object, it assumed that always caused the call to end and deleted it from the list, so it never got any more events. The point of a reject is that it doesn't end the call if it's already been picked up though. This only removes the call if it's actually ended. * Use ts-expect-error
- Loading branch information