typos
parent
ebdac4ee50
commit
f13bb5f656
|
@ -413,14 +413,14 @@ module.exports = React.createClass({
|
||||||
var roomStatePreviewUrls = room.currentState.getStateEvents('org.matrix.room.preview_urls', '');
|
var roomStatePreviewUrls = room.currentState.getStateEvents('org.matrix.room.preview_urls', '');
|
||||||
if (roomStatePreviewUrls && roomStatePreviewUrls.disabled) {
|
if (roomStatePreviewUrls && roomStatePreviewUrls.disabled) {
|
||||||
this.setState({
|
this.setState({
|
||||||
showUrlPreview: false;
|
showUrlPreview: false
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// otherwise, we assume they're on.
|
// otherwise, we assume they're on.
|
||||||
this.setState({
|
this.setState({
|
||||||
showUrlPreview: true;
|
showUrlPreview: true
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue