fix: enter name even for auth joins on light-meetings (required field, without it Join fails)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
7abd123404
commit
9e24861bab
1 changed files with 6 additions and 5 deletions
|
|
@ -132,11 +132,12 @@ export class JoinProcedure {
|
|||
|
||||
if (this._isAuthenticated) {
|
||||
// Authenticated join: Auth cookies are set but we're on the light-meetings
|
||||
// page (Teams blocks /v2/ for headless browsers). We skip entering a name
|
||||
// and just click "Join now" directly. Teams will use the auth cookies to
|
||||
// identify the user even on the light-meetings page.
|
||||
this._logger.info('Authenticated join on light-meetings: skipping name, clicking Join now directly...');
|
||||
await this._page.waitForTimeout(2000);
|
||||
// page (Teams blocks /v2/ for headless browsers). The light-meetings page
|
||||
// REQUIRES a name to be entered — without it, "Join now" fails with
|
||||
// "All promises were rejected". We enter the bot name AND rely on auth
|
||||
// cookies for identification. Teams will show the user as authenticated.
|
||||
this._logger.info('Authenticated join on light-meetings: entering name (required by light-meetings)...');
|
||||
await this._enterBotName();
|
||||
} else {
|
||||
// Anonymous join: enter bot name in the name input field
|
||||
await this._enterBotName();
|
||||
|
|
|
|||
Loading…
Reference in a new issue