File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1062,12 +1062,12 @@ export class StickyEventMembershipManager extends MembershipManager {
10621062 ) ;
10631063 } ;
10641064
1065- private static nameMap = new Map ( [
1066- [ "sendStateEvent" , "_unstable_sendStickyEvent" ] ,
1067- [ "sendDelayedStateEvent" , "_unstable_sendStickyDelayedEvent" ] ,
1068- ] ) ;
10691065 protected actionUpdateFromErrors ( e : unknown , t : MembershipActionType , m : string ) : ActionUpdate | undefined {
1070- return super . actionUpdateFromErrors ( e , t , StickyEventMembershipManager . nameMap . get ( m ) ?? "unknown" ) ;
1066+ const mappedMethod = new Map ( [
1067+ [ "sendStateEvent" , "_unstable_sendStickyEvent" ] ,
1068+ [ "_unstable_sendDelayedStateEvent" , "_unstable_sendStickyDelayedEvent" ] ,
1069+ ] ) . get ( m ) ;
1070+ return super . actionUpdateFromErrors ( e , t , mappedMethod ?? "unknown method" ) ;
10711071 }
10721072
10731073 protected makeMyMembership ( expires : number ) : SessionMembershipData | RtcMembershipData {
You can’t perform that action at this time.
0 commit comments