-
- Downloads
Watch for a 'join' action to know when the call is connected
Previously we were watching for changes to the room state to know when you become connected to a call. However, the room state might not change if you had a stuck membership event prior to re-joining the call. It's going to be more reliable to watch for the 'join' action that Element Call sends, and use that to track the connection state.
Showing
- src/models/Call.ts 56 additions, 161 deletionssrc/models/Call.ts
- test/test-utils/call.ts 0 additions, 1 deletiontest/test-utils/call.ts
- test/unit-tests/components/views/messages/CallEvent-test.tsx 1 addition, 1 deletiontest/unit-tests/components/views/messages/CallEvent-test.tsx
- test/unit-tests/components/views/rooms/RoomTile-test.tsx 2 additions, 1 deletiontest/unit-tests/components/views/rooms/RoomTile-test.tsx
- test/unit-tests/models/Call-test.ts 81 additions, 226 deletionstest/unit-tests/models/Call-test.ts
- test/unit-tests/stores/room-list/algorithms/Algorithm-test.ts 3 additions, 2 deletions.../unit-tests/stores/room-list/algorithms/Algorithm-test.ts
Loading
Please register or sign in to comment