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
Break instead of return
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -511,7 +511,7 @@ export default class CallHandler extends EventEmitter {
|
|||||||
this.play(AudioID.Busy);
|
this.play(AudioID.Busy);
|
||||||
|
|
||||||
// Don't show a modal when we got rejected/the call was hung up
|
// Don't show a modal when we got rejected/the call was hung up
|
||||||
if (!hangupReason || [CallErrorCode.UserHangup, "user hangup"].includes(hangupReason)) return;
|
if (!hangupReason || [CallErrorCode.UserHangup, "user hangup"].includes(hangupReason)) break;
|
||||||
|
|
||||||
let title;
|
let title;
|
||||||
let description;
|
let description;
|
||||||
|
|||||||
Reference in New Issue
Block a user