Skip to content

Commit

Permalink
fix(MembershipsSdkAdapter):added name property to member mapping in g…
Browse files Browse the repository at this point in the history
…etmembers function (#344)
  • Loading branch information
Parimala032 authored Nov 11, 2024
1 parent 7381ded commit f4480a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/MembershipsSDKAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function getMembers(sdkMembers, meeting) {
sharing: member.isContentSharing,
host: !!meeting.meetingInfo.isWebexScheduled && member.isModerator,
guest: member.isGuest,
name: member.name,
}));
}

Expand Down
4 changes: 4 additions & 0 deletions src/MembershipsSDKAdapter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('Memberships SDK Adapter', () => {
sharing: false,
host: false,
guest: false,
name: 'Barbara German',
},
{
ID: 'mutedPerson',
Expand All @@ -53,6 +54,7 @@ describe('Memberships SDK Adapter', () => {
sharing: true,
host: true,
guest: true,
name: 'Brenda Song',
},
{
ID: 'notJoinedPerson',
Expand All @@ -62,6 +64,7 @@ describe('Memberships SDK Adapter', () => {
sharing: false,
host: false,
guest: true,
name: 'Giacomo Edwards',
},
{
ID: 'device',
Expand All @@ -71,6 +74,7 @@ describe('Memberships SDK Adapter', () => {
sharing: false,
host: false,
guest: false,
name: undefined,
},
]);
done();
Expand Down

0 comments on commit f4480a5

Please sign in to comment.