-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: end meeting for all getCurUserType type issue #4038
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,6 +155,9 @@ export type BasicMeetingInformation = { | |
}; | ||
meetingInfo: any; | ||
sessionCorrelationId: string; | ||
roles: string[]; | ||
getCurUserType: () => string | null; | ||
callStateForMetrics: CallStateForMetrics; | ||
}; | ||
|
||
/** | ||
|
@@ -1143,6 +1146,9 @@ export default class Meetings extends WebexPlugin { | |
sessionId: meeting.locusInfo?.fullState?.sessionId, | ||
}, | ||
}, | ||
roles: meeting.roles, | ||
callStateForMetrics: meeting.callStateForMetrics, | ||
getCurUserType: meeting.getCurUserType, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. initially I didn't like this approach, because I thought that having a reference to the method of a meeting will prevent that meeting object from being garbage collected, but I think it's OK, you can have references to methods of an object and these methods on their own don't have a reference to the object itself (as long as they don't use any closures), so it should be fine. |
||
}); | ||
this.meetingCollection.delete(meeting.id); | ||
Trigger.trigger( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question. Why have we also added roles and callStateForMetrics?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roles being read in getCurUserType utility function and callStateForMetrics is being read in next line where previous error occured.