Also emit on reset event

This commit is contained in:
RMidhunSuresh 2023-01-24 12:05:17 +05:30
parent e3a8c184f6
commit afee565eb7
No known key found for this signature in database

View File

@ -39,7 +39,9 @@ export class CallToastNotificationViewModel extends BaseToastNotificationViewMod
onRemove: (_, __) => { onRemove: (_, __) => {
this.emitChange("memberCount"); this.emitChange("memberCount");
}, },
onReset: () => { /** noop */ }, onReset: () => {
this.emitChange("memberCount");
},
}) })
); );
// Dismiss the toast if the room is opened manually // Dismiss the toast if the room is opened manually