Skip to content

Commit c280c0e

Browse files
committed
fix(breakout): Clear up request sent on authentication.
If guest authenticates in meeting to become a moderator and creates a breakout room, was not inviting jicofo and fails to join breakout room. Fixes jitsi/jitsi-meet#15024.
1 parent 9eefac1 commit c280c0e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

authenticateAndUpgradeRole.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,13 @@ export default function authenticateAndUpgradeRole({
117117
// stored in the settings. Send a new conference IQ.
118118
this.room.xmpp.moderator.sendConferenceRequest(this.room.roomjid)
119119
.catch(e => logger.trace('sendConferenceRequest rejected', e))
120-
.finally(resolve);
120+
.finally(() => {
121+
// we need to reset it because of breakout rooms which will
122+
// reuse connection but will invite jicofo
123+
this.room.xmpp.moderator.conferenceRequestSent = false;
124+
125+
resolve();
126+
});
121127
})
122128
.catch(({ error, message }) => {
123129
xmpp.disconnect();

0 commit comments

Comments
 (0)