@@ -336,7 +336,7 @@ export class MembershipManager
336336 this . userId = userId ;
337337 // this needs to become a uuid so that consecutive join/leaves result in a key rotation.
338338 // we keep it as a string for now for backwards compatibility.
339- this . memberId = this . makeMembershipStateKey ( userId , deviceId ) ;
339+ this . stateKey = this . makeMembershipStateKey ( userId , deviceId ) ;
340340 this . state = MembershipManager . defaultState ;
341341 this . callIntent = joinConfig ?. callIntent ;
342342 this . scheduler = new ActionScheduler ( ( type ) : Promise < ActionUpdate > => {
@@ -383,7 +383,7 @@ export class MembershipManager
383383 // Membership Event static parameters:
384384 protected deviceId : string ;
385385 protected userId : string ;
386- protected memberId : string ;
386+ protected stateKey : string ;
387387 protected rtcTransport ?: Transport ;
388388 /** @deprecated This will be removed in favor or rtcTransport becoming a list of actively used transports */
389389 private fociPreferred ?: Transport [ ] ;
@@ -484,7 +484,7 @@ export class MembershipManager
484484 { delay : this . delayedLeaveEventDelayMs } ,
485485 EventType . GroupCallMemberPrefix ,
486486 { } ,
487- this . memberId ,
487+ this . stateKey ,
488488 ) ;
489489
490490 // HANDLERS (used in the membershipLoopHandler)
@@ -677,7 +677,7 @@ export class MembershipManager
677677 this . room . roomId ,
678678 EventType . GroupCallMemberPrefix ,
679679 myMembership as EmptyObject | SessionMembershipData ,
680- this . memberId ,
680+ this . stateKey ,
681681 ) ;
682682 } ;
683683
@@ -1040,6 +1040,9 @@ export class StickyEventMembershipManager extends MembershipManager {
10401040 private readonly clientWithSticky : MembershipManagerClient &
10411041 Pick < MatrixClient , "_unstable_sendStickyEvent" | "_unstable_sendStickyDelayedEvent" > ,
10421042 sessionDescription : SlotDescription ,
1043+ // this needs to become a uuid so that consecutive join/leaves result in a key rotation.
1044+ // we keep it as a string for now for backwards compatibility.
1045+ private readonly memberId : string ,
10431046 parentLogger ?: Logger ,
10441047 ) {
10451048 super ( joinConfig , room , clientWithSticky , sessionDescription , parentLogger ) ;
0 commit comments