feat: Drops SHOW_JITSI_WATERMARK_FOR_GUESTS and SHOW_WATERMARK_FOR_GUESTS.
This commit is contained in:
parent
c007477ee9
commit
c14f639639
|
@ -186,7 +186,6 @@ var interfaceConfig = {
|
||||||
SHOW_JITSI_WATERMARK: true,
|
SHOW_JITSI_WATERMARK: true,
|
||||||
SHOW_POWERED_BY: false,
|
SHOW_POWERED_BY: false,
|
||||||
SHOW_PROMOTIONAL_CLOSE_PAGE: false,
|
SHOW_PROMOTIONAL_CLOSE_PAGE: false,
|
||||||
SHOW_WATERMARK_FOR_GUESTS: true, // if watermark is disabled by default, it can be shown only for guests
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If indicated some of the error dialogs may point to the support URL for
|
* If indicated some of the error dialogs may point to the support URL for
|
||||||
|
|
|
@ -225,7 +225,6 @@ class Watermarks extends Component<Props, State> {
|
||||||
* @returns {Props}
|
* @returns {Props}
|
||||||
*/
|
*/
|
||||||
function _mapStateToProps(state, ownProps) {
|
function _mapStateToProps(state, ownProps) {
|
||||||
const { isGuest } = state['features/base/jwt'];
|
|
||||||
const {
|
const {
|
||||||
customizationReady,
|
customizationReady,
|
||||||
customizationFailed,
|
customizationFailed,
|
||||||
|
@ -239,12 +238,11 @@ function _mapStateToProps(state, ownProps) {
|
||||||
DEFAULT_LOGO_URL,
|
DEFAULT_LOGO_URL,
|
||||||
JITSI_WATERMARK_LINK,
|
JITSI_WATERMARK_LINK,
|
||||||
SHOW_JITSI_WATERMARK,
|
SHOW_JITSI_WATERMARK,
|
||||||
SHOW_JITSI_WATERMARK_FOR_GUESTS,
|
|
||||||
filmStripOnly
|
filmStripOnly
|
||||||
} = interfaceConfig;
|
} = interfaceConfig;
|
||||||
let _showJitsiWatermark = (!filmStripOnly
|
let _showJitsiWatermark = (!filmStripOnly
|
||||||
&& (customizationReady && !customizationFailed)
|
&& (customizationReady && !customizationFailed)
|
||||||
&& (SHOW_JITSI_WATERMARK || (isGuest && SHOW_JITSI_WATERMARK_FOR_GUESTS)))
|
&& SHOW_JITSI_WATERMARK)
|
||||||
|| !isValidRoom;
|
|| !isValidRoom;
|
||||||
let _logoUrl = logoImageUrl;
|
let _logoUrl = logoImageUrl;
|
||||||
let _logoLink = logoClickUrl;
|
let _logoLink = logoClickUrl;
|
||||||
|
|
Loading…
Reference in New Issue