Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(external-api): Fix reporting kicker display name.

damencho67c3a504122b
diff --git a/react/features/external-api/middleware.ts b/react/features/external-api/middleware.ts
index cb51821640..bcef6ca865 100644
--- a/react/features/external-api/middleware.ts
+++ b/react/features/external-api/middleware.ts
@@ -142,7 +142,7 @@ MiddlewareRegistry.register(store => next => action => {
break;
}
- const pId = action.participant.getId();
+ const actor = action.participant;
APP.API.notifyKickedOut(
{
@@ -151,8 +151,8 @@ MiddlewareRegistry.register(store => next => action => {
local: true
},
{
- id: pId,
- name: getParticipantDisplayName(state, pId)
+ id: actor.getId(),
+ name: actor.getDisplayName()
}
);
break;