Refactor local membership publisher and connectionState related logic

This commit is contained in:
Timo K
2025-12-01 20:14:29 +01:00
26 changed files with 1036 additions and 453 deletions

View File

@@ -146,6 +146,8 @@ export const ActiveCall: FC<ActiveCallProps> = (props) => {
reactionsReader.reactions$,
scope.behavior(trackProcessorState$),
);
// TODO move this somewhere else once we use the callViewModel in the lobby as well!
vm.join();
setVm(vm);
vm.leave$.pipe(scope.bind()).subscribe(props.onLeft);