You've already forked matrix-react-sdk
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:
@@ -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,
|
||||||
)),
|
),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user