1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

use real equals

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
David Baker
2020-10-16 20:28:20 +01:00
committed by GitHub
parent 7ad366603a
commit 4a26199a75

View File

@@ -240,7 +240,7 @@ export default class CallHandler {
this.play(AudioID.Busy); this.play(AudioID.Busy);
let title; let title;
let description; let description;
if (call.hangupReason == CallErrorCode.UserHangup) { if (call.hangupReason === CallErrorCode.UserHangup) {
title = _t("Call Declined"); title = _t("Call Declined");
description = _t("The other party declined the call."); description = _t("The other party declined the call.");
} else if (call.hangupReason === CallErrorCode.InviteTimeout) { } else if (call.hangupReason === CallErrorCode.InviteTimeout) {