From afee565eb7cd116015a96289035780f7693ffbbd Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 24 Jan 2023 12:05:17 +0530 Subject: [PATCH] Also emit on reset event --- src/domain/session/toast/CallToastNotificationViewModel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/domain/session/toast/CallToastNotificationViewModel.ts b/src/domain/session/toast/CallToastNotificationViewModel.ts index 0e72c3f9..ebc66167 100644 --- a/src/domain/session/toast/CallToastNotificationViewModel.ts +++ b/src/domain/session/toast/CallToastNotificationViewModel.ts @@ -39,7 +39,9 @@ export class CallToastNotificationViewModel extends BaseToastNotificationViewMod onRemove: (_, __) => { this.emitChange("memberCount"); }, - onReset: () => { /** noop */ }, + onReset: () => { + this.emitChange("memberCount"); + }, }) ); // Dismiss the toast if the room is opened manually