Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
rn,conference: log pin participant analytics events also on mobile
Saúl Ibarra Corretgé4d5332cadf5b
diff --git a/react/features/base/conference/middleware.js b/react/features/base/conference/middleware.jsindex deb5cc94a7..0b285672db 100644--- a/react/features/base/conference/middleware.js+++ b/react/features/base/conference/middleware.js@@ -435,31 +435,28 @@ function _pinParticipant({ getState }, next, action) {const participants = state['features/base/participants'];const id = action.participant.id;const participantById = getParticipantById(participants, id);-- if (typeof APP !== 'undefined') {- const pinnedParticipant = getPinnedParticipant(participants);- const actionName = id ? ACTION_PINNED : ACTION_UNPINNED;- const local- = (participantById && participantById.local)- || (!id && pinnedParticipant && pinnedParticipant.local);- let participantIdForEvent;-- if (local) {- participantIdForEvent = local;- } else {- participantIdForEvent = actionName === ACTION_PINNED- ? id : pinnedParticipant && pinnedParticipant.id;- }-- sendAnalytics(createPinnedEvent(- actionName,- participantIdForEvent,- {- local,- 'participant_count': conference.getParticipantCount()- }));+ const pinnedParticipant = getPinnedParticipant(participants);+ const actionName = id ? ACTION_PINNED : ACTION_UNPINNED;+ const local+ = (participantById && participantById.local)+ || (!id && pinnedParticipant && pinnedParticipant.local);+ let participantIdForEvent;++ if (local) {+ participantIdForEvent = local;+ } else {+ participantIdForEvent+ = actionName === ACTION_PINNED ? id : pinnedParticipant && pinnedParticipant.id;}+ sendAnalytics(createPinnedEvent(+ actionName,+ participantIdForEvent,+ {+ local,+ 'participant_count': conference.getParticipantCount()+ }));+return next(action);}