Jitsi-Meet: Enable additional content on welcome page

Hello,

I’m trying to enable the additional content template for the Jitsi-Meet welcome page.

In the React app, WelcomePage.web.js contains the line

this._additionalContentRef = null;

This obviously results in the template not being loaded, as this part

if (this._shouldShowAdditionalContent()) {
    this._additionalContentRef.appendChild(
        this._additionalContentTemplate.content.cloneNode(true));
}

results in the following error:

[JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>:  UnhandledError: Uncaught TypeError: Cannot read property 'appendChild' of null

because _setAdditionalContentRef() (line 419) is never called with an appropriate element as parameter.

My question is: Is this something we are supposed to implement on our own, or am I missing some configuration somewhere that fixes this?

Any help is greatly appreciated.

EDIT:

After a bit more searching, I’ve found that this code:

v.a.createElement("div",{className:"welcome-page-content",ref:this._setAdditionalContentRef})

is present in the app.bundle.min.js on meet.jit.si, but not in my own bundle. This is probably the reason why my additional content is not loaded, however I don’t know how I would enable it. I have set DISPLAY_WELCOME_PAGE_CONTENT to true in interface_config.js.