undo one of the "fixes"

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-01-06 09:35:14 +00:00
parent 709b2eed7c
commit ac1d9b03bf
1 changed files with 2 additions and 3 deletions

View File

@ -34,13 +34,12 @@ module.exports = createReactClass({
getInitialState: function() { getInitialState: function() {
return { return {
// convert to Boolean to protect against null-capable "tri-state" Settings e.g fallbackICEServerAllowed value: SettingsStore.getValueAt(
value: Boolean(SettingsStore.getValueAt(
this.props.level, this.props.level,
this.props.name, this.props.name,
this.props.roomId, this.props.roomId,
this.props.isExplicit, this.props.isExplicit,
)), ),
}; };
}, },