mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Also emit on reset event
This commit is contained in:
parent
e3a8c184f6
commit
afee565eb7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user