File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,11 @@ export class Conference {
117
117
const people = await this . findPeopleWithId ( emailInvite [ RS_3PID_PERSON_ID ] ) ;
118
118
if ( people ?. length ) {
119
119
// Finally, associate the users.
120
- for ( const person of people ) {
121
- const clonedPerson = objectFastClone ( person ) ;
122
- clonedPerson . matrix_id = event [ 'state_key' ] ;
123
- await this . createUpdatePerson ( clonedPerson ) ;
124
- LogService . info ( "Conference" , `Updated ${ clonedPerson . id } to be associated with ${ clonedPerson . matrix_id } ` ) ;
125
- }
120
+ let person = people [ 0 ] ;
121
+ const clonedPerson = objectFastClone ( person ) ;
122
+ clonedPerson . matrix_id = event [ 'state_key' ] ;
123
+ await this . createUpdatePerson ( clonedPerson ) ;
124
+ LogService . info ( "Conference" , `Updated ${ clonedPerson . id } to be associated with ${ clonedPerson . matrix_id } ` ) ;
126
125
127
126
// Update permissions while we're here (if we can identify the room kind)
128
127
const aud = this . storedAuditoriums . find ( a => a . roomId === roomId ) ;
You can’t perform that action at this time.
0 commit comments