riot-web/test
Robin 62a740d318
Fix call splitbrains when switching between rooms (#9692)
* Fix call splitbrains when switching between rooms

Mounting CallView causes the user's call membership room state to be cleaned up. However, because the GroupCall object always thought the local device was disconnected from the call, it would remove the local device from room state when the clean method is called, causing a splitbrain. This uses GroupCall's new enteredViaAnotherSession field to fix that, and also simplify participant tracking.

* Remove clean tests that have been moved to matrix-js-sdk
2022-12-02 09:35:31 +01:00
..
@types Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600) 2022-11-21 11:24:59 +00:00
accessibility
actions/handlers Device manager - promote to beta (#9380) 2022-10-11 11:10:55 +02:00
audio Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
autocomplete
components Fix power selector being wrongly disabled for admins themselves (#9681) 2022-12-01 09:49:46 +00:00
contexts Add voice broadcast pre-recoding PiP (#9548) 2022-11-10 09:38:48 +01:00
editor Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
events Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
hooks Use react-testing-library instead of enzyme for useDebouncedCallback 2022-11-17 12:01:31 +01:00
i18n
i18n-test Migrate KeyboardShortcut tests from Enzyme to RTL (#9405) 2022-10-13 14:32:45 +01:00
images
img
models Fix call splitbrains when switching between rooms (#9692) 2022-12-02 09:35:31 +01:00
modules Convert some tests from Enzyme to RTL (#9483) 2022-10-24 09:06:20 +01:00
notifications
settings
setup Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
stores Remove unused Element Call capabilities (#9653) 2022-11-30 13:54:18 +00:00
test-utils Fix call splitbrains when switching between rooms (#9692) 2022-12-02 09:35:31 +01:00
toasts Use native js-sdk group call support (#9625) 2022-11-28 16:37:32 -05:00
utils Update voice broadcast time display (#9646) 2022-11-30 08:47:29 +01:00
voice-broadcast Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
Avatar-test.ts Ensure spaces in the spotlight dialog have rounded square avatars (#9480) 2022-10-24 08:58:36 +00:00
ContentMessages-test.ts Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
DecryptionFailureTracker-test.js
DeviceListener-test.ts Add config setting to disable bulk unverified sessions nag (#9657) 2022-12-02 03:24:45 +00:00
HtmlUtils-test.tsx Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Add more debugging for why audio ring/ringback might not be playing (#9642) 2022-12-01 04:08:09 +00:00
Markdown-test.ts Fix links being mangled by markdown processing (#9570) 2022-11-14 10:52:42 +01:00
MatrixClientPeg-test.ts
MediaDeviceHandler-test.ts Advanced audio processing settings (#8759) 2022-11-09 20:14:55 +00:00
Notifier-test.ts bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events (#9664) 2022-12-01 12:21:56 +00:00
PosthogAnalytics-test.ts Send layout analytics as WebLayout (#9482) 2022-11-04 09:10:37 +00:00
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts Pass a client into `RoomNotifs.getRoomNotifsState` (#9631) 2022-11-29 10:55:15 +00:00
ScalarAuthClient-test.ts Move from `browser-request` to `fetch` (#9345) 2022-10-12 18:59:07 +01:00
SdkConfig-test.ts Show time left for voice broadcast recordings (#9564) 2022-11-10 10:53:49 +00:00
SlashCommands-test.tsx Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600) 2022-11-21 11:24:59 +00:00
SlidingSyncManager-test.ts sliding sync: add lazy-loading member support (#9530) 2022-11-18 19:05:00 +00:00
Terms-test.tsx
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Add notifications and toasts for Element Call calls (#9337) 2022-10-06 14:27:12 +00:00
Unread-test.ts Remove deprecated `m.room.aliases` references (#9431) 2022-10-17 10:58:46 +01:00
UserActivity-test.ts
createRoom-test.ts Use native js-sdk group call support (#9625) 2022-11-28 16:37:32 -05:00
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js Move from `browser-request` to `fetch` (#9345) 2022-10-12 18:59:07 +01:00
slowReporter.js Add slow jest reporter (#9599) 2022-11-24 14:53:32 +01:00
theme-test.ts Test querySelectorAll call 2022-09-28 15:25:32 +02:00
useTopic-test.tsx Migrate useTopic test to RTL (#9580) 2022-11-15 14:00:02 +01:00