add comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a45dc837b4
commit
ed1f801254
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue