You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Simplifie toast handling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -648,10 +648,9 @@ export default class CallHandler extends EventEmitter {
|
||||
if (status === CallState.Ringing) {
|
||||
ToastStore.sharedInstance().addOrReplaceToast({
|
||||
key: toastKey,
|
||||
supplyWholeBody: true,
|
||||
priority: 100,
|
||||
component: IncomingCallToast,
|
||||
className: "mx_IncomingCallToast",
|
||||
bodyClassName: "mx_IncomingCallToast",
|
||||
props: { call },
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user