From 6f77d3bbabf94fe6c90579a41868ad50cee5d1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 27 Jul 2021 17:52:13 +0200 Subject: [PATCH] Correctly hide the dialpad MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/voip/CallView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/voip/CallView.tsx b/src/components/views/voip/CallView.tsx index 14025ce3f0..481d7b303c 100644 --- a/src/components/views/voip/CallView.tsx +++ b/src/components/views/voip/CallView.tsx @@ -534,7 +534,7 @@ export default class CallView extends React.Component { ); } let dialpadButton; - if (this.state.callState === CallState.Connected && CallHandler.sharedInstance().getSupportsPstnProtocol()) { + if (this.state.callState === CallState.Connected && this.props.call.opponentSupportsDTMF()) { dialpadButton = (