Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 6f77d3b

Browse files
committed
Correctly hide the dialpad
Signed-off-by: Šimon Brandner <[email protected]>
1 parent 8294d32 commit 6f77d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/voip/CallView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export default class CallView extends React.Component<IProps, IState> {
534534
);
535535
}
536536
let dialpadButton;
537-
if (this.state.callState === CallState.Connected && CallHandler.sharedInstance().getSupportsPstnProtocol()) {
537+
if (this.state.callState === CallState.Connected && this.props.call.opponentSupportsDTMF()) {
538538
dialpadButton = (
539539
<ContextMenuButton
540540
className="mx_CallView_callControls_button mx_CallView_callControls_dialpad"

0 commit comments

Comments
 (0)