Skip to content

Commit

Permalink
feat(external-api): Fix reporting kicker display name.
Browse files Browse the repository at this point in the history
We cannot look up the name as the meeting is left and data has been cleaned up already.
The value is coming from ljm and the reported actor: JitsiParticipant.
  • Loading branch information
damencho committed Nov 22, 2024
1 parent b303693 commit 67c3a50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react/features/external-api/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ MiddlewareRegistry.register(store => next => action => {
break;
}

const pId = action.participant.getId();
const actor = action.participant;

APP.API.notifyKickedOut(
{
Expand All @@ -151,8 +151,8 @@ MiddlewareRegistry.register(store => next => action => {
local: true
},
{
id: pId,
name: getParticipantDisplayName(state, pId)
id: actor.getId(),
name: actor.getDisplayName()
}
);
break;
Expand Down

0 comments on commit 67c3a50

Please sign in to comment.