Bladeren bron

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

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.
factor2
damencho 6 maanden geleden
bovenliggende
commit
67c3a50412
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3
    3
      react/features/external-api/middleware.ts

+ 3
- 3
react/features/external-api/middleware.ts Bestand weergeven

142
             break;
142
             break;
143
         }
143
         }
144
 
144
 
145
-        const pId = action.participant.getId();
145
+        const actor = action.participant;
146
 
146
 
147
         APP.API.notifyKickedOut(
147
         APP.API.notifyKickedOut(
148
             {
148
             {
151
                 local: true
151
                 local: true
152
             },
152
             },
153
             {
153
             {
154
-                id: pId,
155
-                name: getParticipantDisplayName(state, pId)
154
+                id: actor.getId(),
155
+                name: actor.getDisplayName()
156
             }
156
             }
157
         );
157
         );
158
         break;
158
         break;

Laden…
Annuleren
Opslaan