From 1b3066c9ca615ec2ee3eb0e83ed6bd87dc1abd24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 11 Jun 2024 17:32:33 +0200 Subject: [PATCH] feat(client) log kicker id when we are kicked --- .../meeting-frame/JitsiMeetingFrame/JitsiMeetingFrame.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spot-client/src/spot-tv/ui/components/meeting-frame/JitsiMeetingFrame/JitsiMeetingFrame.js b/spot-client/src/spot-tv/ui/components/meeting-frame/JitsiMeetingFrame/JitsiMeetingFrame.js index 50a4e8350..caab1404d 100644 --- a/spot-client/src/spot-tv/ui/components/meeting-frame/JitsiMeetingFrame/JitsiMeetingFrame.js +++ b/spot-client/src/spot-tv/ui/components/meeting-frame/JitsiMeetingFrame/JitsiMeetingFrame.js @@ -508,12 +508,13 @@ export class JitsiMeetingFrame extends AbstractMeetingFrame { * * @param {event} param0 - The event returned from the external api. * @param {Object} kicked - The participant that was kicked. + * @param {Object} kicker - The participant that performed the kick. * @private * @returns {void} */ - _onParticipantKicked({ kicked }) { + _onParticipantKicked({ kicked, kicker }) { if (kicked.local) { - logger.log('Kicked from jitsi meeting'); + logger.log(`Kicked from meeting by ${kicker.id}`); this.props.updateSpotTvState({ kicked: true