mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-05 13:32:05 +01:00
* feat(call store): add new `CallEvent.Participants` event The room list needs to listen to `CallEvent.Participants` to be able to display the Call icon. This was working before https://github.com/element-hq/element-web/pull/32663 due to an excessive re-renders or relying on the notification events. * chore(room list): listen to `CallEvent.Participants` * test(room list): add test for new listener * test(call store): add tests for `CallEvent.Particpants` * Revert "feat(call store): add new `CallEvent.Participants` event" This reverts commit d2a7a009a4c55325404ad38f23fa662a8103cff4. * Revert "test(call store): add tests for `CallEvent.Particpants`" This reverts commit 4455182fb3aea54ea10cfabb8beb7946cfdf8a6c. * chore(room list): listen to `Call#CallEvent.Participants` insteaf of listening to `CallStore` * test(room list): update added test * fix(room list): clean properly listeners on previous call * test(room list): add missing test * fix(room list): don't use trackListeners to avoid leaking memory when listening to call event * fix(room list): listen to participant change when vm is created * test(room list): add test case when there is an existing call