Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: welcome page logo not being displayed

Vlad Piersec047c9b43eab2
diff --git a/react/features/base/react/components/web/Watermarks.js b/react/features/base/react/components/web/Watermarks.js
index e1da87b37b..69a9087053 100644
--- a/react/features/base/react/components/web/Watermarks.js
+++ b/react/features/base/react/components/web/Watermarks.js
@@ -42,6 +42,11 @@ type Props = {
*/
_readyToDisplayJitsiWatermark: boolean,
+ /**
+ * Returns true if welcome page is visible at the moment.
+ */
+ _welcomePageIsVisible: boolean,
+
/**
* Invoked to obtain translated strings.
*/
@@ -162,11 +167,13 @@ class Watermarks extends Component<Props, State> {
} = this.state;
const {
_isGuest,
- _readyToDisplayJitsiWatermark
+ _readyToDisplayJitsiWatermark,
+ _welcomePageIsVisible
} = this.props;
- return _readyToDisplayJitsiWatermark
- && (showJitsiWatermark || (_isGuest && showJitsiWatermarkForGuests));
+ return (_readyToDisplayJitsiWatermark
+ && (showJitsiWatermark || (_isGuest && showJitsiWatermarkForGuests)))
+ || _welcomePageIsVisible;
}
/**
@@ -273,6 +280,7 @@ class Watermarks extends Component<Props, State> {
function _mapStateToProps(state) {
const { isGuest } = state['features/base/jwt'];
const { customizationReady, logoClickUrl, logoImageUrl } = state['features/dynamic-branding'];
+ const { room } = state['features/base/conference'];
return {
/**
@@ -285,7 +293,8 @@ function _mapStateToProps(state) {
_customLogoLink: logoClickUrl,
_customLogoUrl: logoImageUrl,
_isGuest: isGuest,
- _readyToDisplayJitsiWatermark: customizationReady
+ _readyToDisplayJitsiWatermark: customizationReady,
+ _welcomePageIsVisible: !room
};
}