Need help building inter-conference chat

Hello Jitis community.

I have jitsi-meet deployed on my own server. I am trying to modify lib-jitsi-meet so that all participants in any conference can chat with one another, rather than being a chat room for a particular conference only. Eventually I will want to group different conferences into their own chat rooms based on custom criteria, but first I want to accomplish this easier goal.

Here is what I have tried and what difficulty I am running in to:

In JitsiConference.js I modified line 336. I changed it from:

  this.room = this.xmpp.createRoom(
        this.options.name, {
            ...config,
            statsId: this._statsCurrentId
        },
        JitsiConference.resourceCreator
    );

to

this.room = this.xmpp.createRoom(
“testGlobal”, {
…config,
statsId: this._statsCurrentId
},
JitsiConference.resourceCreator
);

My thinking is that with a static xmpp room name, all users should join the same room. However this code change results in the following error:

react_devtools_backend.js:2560 2021-06-17T05:01:23.162Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>:  UnhandledError: Rejecting session-initiate from non-focus. Script: null Line: null Column: null StackTrace:  Error: Rejecting session-initiate from non-focus.
    at ae._rejectIncomingCall (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:10:64301)
    at ae.onIncomingCall (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:10:62571)
    at a.emit (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:1:117120)
    at g.onJingle (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:10:212481)
    at I.Handler.run (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:1:27330)
    at https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:1:35768
    at Object.forEachChild (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:1:18992)
    at I.Connection._dataRecv (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:1:35617)
    at O.Bosh._onRequestStateChange (https://localhost:8080/libs/lib-jitsi-meet.min.js?v=v0-0-3173:1:55602)

It seems this is more complicated than I thought.
I am not sure what “Error: Rejecting session-initiate from non-focus.” means.

Please help me to understand and point me in the right direction for solving this problem.

Thank you.