1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-17 17:42:41 +03:00

undo one of the "fixes"

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2020-01-06 09:35:14 +00:00
parent 709b2eed7c
commit ac1d9b03bf

View File

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