Skip to content

Commit

Permalink
feat: return the email in the transfromSocketMesssageToParticipant
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossantos74 committed Jan 6, 2025
1 parent 2c629d1 commit 74c5195
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/room/src/core/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ describe('Room', () => {
{
id: '1',
name: 'Participant 1',
data: [],
data: {
email: null,
},
connectionId: 'conn-1',
timestamp: date,
},
Expand All @@ -232,6 +234,7 @@ describe('Room', () => {
expect(participants).toEqual([{
id: '1',
name: 'Participant 1',
email: null,
slot: {
index: null,
color: '#878291',
Expand Down

0 comments on commit 74c5195

Please sign in to comment.