Make the room-level URL preview notification explicit
Fixes https://github.com/vector-im/riot-web/issues/5638 Signed-off-by: Travis Ralston <travpc@gmail.com>pull/21833/head
parent
cdf5a6fb8a
commit
d010329f4a
|
@ -64,7 +64,7 @@ module.exports = React.createClass({
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
let str = _td("URL previews are enabled by default for participants in this room.");
|
let str = _td("URL previews are enabled by default for participants in this room.");
|
||||||
if (!SettingsStore.getValueAt(SettingLevel.ROOM, "urlPreviewsEnabled")) {
|
if (!SettingsStore.getValueAt(SettingLevel.ROOM, "urlPreviewsEnabled", roomId, /*explicit=*/true)) {
|
||||||
str = _td("URL previews are disabled by default for participants in this room.");
|
str = _td("URL previews are disabled by default for participants in this room.");
|
||||||
}
|
}
|
||||||
previewsForRoom = (<label>{ _t(str) }</label>);
|
previewsForRoom = (<label>{ _t(str) }</label>);
|
||||||
|
|
Loading…
Reference in New Issue