diff --git a/src/components/views/room_settings/UrlPreviewSettings.js b/src/components/views/room_settings/UrlPreviewSettings.js index 6491bb0e09..821e4d0ebc 100644 --- a/src/components/views/room_settings/UrlPreviewSettings.js +++ b/src/components/views/room_settings/UrlPreviewSettings.js @@ -31,7 +31,7 @@ module.exports = React.createClass({ saveSettings: function() { const promises = []; if (this.refs.urlPreviewsRoom) promises.push(this.refs.urlPreviewsRoom.save()); - if (this.refs.urlPrviewsSelf) promises.push(this.refs.urlPreviewsSelf.save()); + if (this.refs.urlPreviewsSelf) promises.push(this.refs.urlPreviewsSelf.save()); return promises; },