mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 21:11:25 +02:00
add comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a45dc837b4
commit
ed1f801254
@ -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…
x
Reference in New Issue
Block a user