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