mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 23:11:12 +02:00
Correctly hide the dialpad
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
8294d324e3
commit
6f77d3bbab
@ -534,7 +534,7 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||
);
|
||||
}
|
||||
let dialpadButton;
|
||||
if (this.state.callState === CallState.Connected && CallHandler.sharedInstance().getSupportsPstnProtocol()) {
|
||||
if (this.state.callState === CallState.Connected && this.props.call.opponentSupportsDTMF()) {
|
||||
dialpadButton = (
|
||||
<ContextMenuButton
|
||||
className="mx_CallView_callControls_button mx_CallView_callControls_dialpad"
|
||||
|
Loading…
x
Reference in New Issue
Block a user