From 5b8839b57710c919d4638fdd44b72860f28c9b42 Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 20 Aug 2025 19:08:44 +0200 Subject: [PATCH] Pause hand raise updates while in 'reconnecting' state --- src/state/CallViewModel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/state/CallViewModel.ts b/src/state/CallViewModel.ts index dcaa2a8a..42a67eee 100644 --- a/src/state/CallViewModel.ts +++ b/src/state/CallViewModel.ts @@ -604,7 +604,9 @@ export class CallViewModel extends ViewModel { ), ); - public readonly handsRaised$ = this.scope.behavior(this.handsRaisedSubject$); + public readonly handsRaised$ = this.scope.behavior( + this.handsRaisedSubject$.pipe(pauseWhen(this.pretendToBeDisconnected$)), + ); public readonly reactions$ = this.scope.behavior( this.reactionsSubject$.pipe(