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>
This commit is contained in:
parent
cdf5a6fb8a
commit
d010329f4a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module.exports = React.createClass({
|
|||
);
|
||||
} else {
|
||||
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.");
|
||||
}
|
||||
previewsForRoom = (<label>{ _t(str) }</label>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue