From 38848629961c2bdc8e6fca5c0e3540b72c850d09 Mon Sep 17 00:00:00 2001 From: Gabriel Borlea Date: Tue, 15 Mar 2022 14:42:26 +0200 Subject: [PATCH] add(screenshot-capture): local participants id to participants array in metadata (#11134) --- react/features/screenshot-capture/ScreenshotCaptureSummary.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react/features/screenshot-capture/ScreenshotCaptureSummary.js b/react/features/screenshot-capture/ScreenshotCaptureSummary.js index 47a2bc6c8..fa8f5ef37 100644 --- a/react/features/screenshot-capture/ScreenshotCaptureSummary.js +++ b/react/features/screenshot-capture/ScreenshotCaptureSummary.js @@ -6,7 +6,7 @@ import './createImageBitmap'; import { createScreensharingCaptureTakenEvent, sendAnalytics } from '../analytics'; import { getCurrentConference } from '../base/conference'; -import { getRemoteParticipants } from '../base/participants'; +import { getLocalParticipant, getRemoteParticipants } from '../base/participants'; import { extractFqnFromPath } from '../dynamic-branding'; import { @@ -177,6 +177,7 @@ export default class ScreenshotCaptureSummary { const remoteParticipants = getRemoteParticipants(this._state); const participants = []; + participants.push(getLocalParticipant(this._state).id); remoteParticipants.forEach(p => participants.push(p.id)); this._storedImageData = imageData;