From ed1f801254a85f2782b080740f516a9d675c49ac Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 21 Jun 2018 01:18:21 +0100 Subject: [PATCH] add comment Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/RoomView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index cf7d3f61e8..e2de91c035 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -625,6 +625,7 @@ module.exports = React.createClass({ SettingLevel.ROOM_ACCOUNT, ]; let showUrlPreview; + // in e2ee rooms only care about room-device and room-account, so that user has to explicitly enable previews if (MatrixClientPeg.get().isRoomEncrypted(roomId)) { for (const level of levels) { const value = SettingsStore.getValueAt(level, "urlPreviewsEnabled", roomId, true, true);