Don't show watermarks in film strip-only mode even for guests

This commit is contained in:
Lyubomir Marinov 2017-01-17 21:53:34 -06:00
parent d1f6679f2d
commit f6fdd3ce70
1 changed files with 14 additions and 8 deletions

View File

@ -23,14 +23,20 @@ export class Watermarks extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
const showBrandWatermark let showBrandWatermark;
= interfaceConfig.SHOW_BRAND_WATERMARK let showJitsiWatermark;
&& !interfaceConfig.filmStripOnly; let showJitsiWatermarkForGuests;
const showJitsiWatermark
= interfaceConfig.SHOW_JITSI_WATERMARK if (interfaceConfig.filmStripOnly) {
&& !interfaceConfig.filmStripOnly; showBrandWatermark = false;
const showJitsiWatermarkForGuests showJitsiWatermark = false;
showJitsiWatermarkForGuests = false;
} else {
showBrandWatermark = interfaceConfig.SHOW_BRAND_WATERMARK;
showJitsiWatermark = interfaceConfig.SHOW_JITSI_WATERMARK;
showJitsiWatermarkForGuests
= interfaceConfig.SHOW_WATERMARK_FOR_GUESTS; = interfaceConfig.SHOW_WATERMARK_FOR_GUESTS;
}
this.state = { this.state = {
brandWatermarkLink: brandWatermarkLink: