From 3c3aa9197c56589e98eb8ce0690fcde876869483 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 1 Feb 2019 11:24:52 +0100 Subject: [PATCH] UrlPreviewSettings doesnt have a saveSettings method anymore, which I think is intentional --- src/components/views/rooms/RoomSettings.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 9287eb3fae..46d9a0991c 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -310,12 +310,6 @@ module.exports = React.createClass({ promises.push(p); } - // url preview settings - const ps = this.saveUrlPreviewSettings(); - if (ps.length > 0) { - ps.map((p) => promises.push(p)); - } - // related groups promises.push(this.saveRelatedGroups()); @@ -346,11 +340,6 @@ module.exports = React.createClass({ return this.refs.color_settings.saveSettings(); }, - saveUrlPreviewSettings: function() { - if (!this.refs.url_preview_settings) { return Promise.resolve(); } - return this.refs.url_preview_settings.saveSettings(); - }, - saveEnableEncryption: function() { if (!this.refs.encrypt) { return Promise.resolve(); }