Skip to content

Commit

Permalink
Make the room-level URL preview notification explicit
Browse files Browse the repository at this point in the history
Fixes element-hq/element-web#5638

Signed-off-by: Travis Ralston <travpc@gmail.com>
  • Loading branch information
turt2live committed Nov 18, 2017
1 parent cdf5a6f commit d010329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/room_settings/UrlPreviewSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>);
Expand Down

0 comments on commit d010329

Please sign in to comment.