diff --git a/conference.js b/conference.js index b497d6b5b02e..ae6e928bd2e5 100644 --- a/conference.js +++ b/conference.js @@ -951,16 +951,17 @@ export default { * Sets multiple properties for the local participant in a single presence update. * * @param {Object} properties - Object of property names to values. + * @param {boolean} [useRawKeys] - Skip the "jitsi_participant_" prefix when true. * @returns {void} */ - setLocalParticipantProperties(properties) { + setLocalParticipantProperties(properties, useRawKeys = false) { if (!room) { logger.warn('Not setting participant properties, conference not initialized'); return; } - room.setLocalParticipantProperties(properties); + room.setLocalParticipantProperties(properties, useRawKeys); }, /** diff --git a/modules/API/API.js b/modules/API/API.js index 15ffd82a1d7c..35601786365b 100755 --- a/modules/API/API.js +++ b/modules/API/API.js @@ -426,8 +426,8 @@ function initCommands() { sendAnalytics(createApiEvent('largevideo.participant.set')); dispatch(selectParticipantInLargeVideo(participant.id)); }, - 'set-participant-properties': properties => { - APP.conference.setLocalParticipantProperties(properties); + 'set-participant-properties': (properties, useRawKeys = false) => { + APP.conference.setLocalParticipantProperties(properties, useRawKeys); }, 'set-participant-volume': (participantId, volume) => { APP.store.dispatch(setVolume(participantId, volume)); diff --git a/package-lock.json b/package-lock.json index 87d53e054b0e..054eaa7e1c91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -72,7 +72,7 @@ "js-md5": "0.6.1", "js-sha512": "0.8.0", "jwt-decode": "2.2.0", - "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2190.0.0+63a04eca/lib-jitsi-meet.tgz", + "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2191.0.0+c02b63f8/lib-jitsi-meet.tgz", "lodash-es": "4.18.1", "null-loader": "4.0.1", "optional-require": "1.0.3", @@ -18294,8 +18294,8 @@ }, "node_modules/lib-jitsi-meet": { "version": "0.0.0", - "resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2190.0.0+63a04eca/lib-jitsi-meet.tgz", - "integrity": "sha512-CJnSeaBj9CsKqKrzGw6O7d4w4KRftF1ILgtNoR9bM3VvcKDkU+R+7bR0EMX/EYaL/R8tUkMKyIWkgGbJJjpAQw==", + "resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2191.0.0+c02b63f8/lib-jitsi-meet.tgz", + "integrity": "sha512-754y9O9yvxxnYKz0fabapRom6VV1oxGf0F+80qOINQ9Jukc3YN/r3FM5ftUdrV4EECXXH8LX9mQ8WKlxG3J7/A==", "license": "Apache-2.0", "dependencies": { "@jitsi/js-utils": "6.3.2", @@ -39770,8 +39770,8 @@ } }, "lib-jitsi-meet": { - "version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2190.0.0+63a04eca/lib-jitsi-meet.tgz", - "integrity": "sha512-CJnSeaBj9CsKqKrzGw6O7d4w4KRftF1ILgtNoR9bM3VvcKDkU+R+7bR0EMX/EYaL/R8tUkMKyIWkgGbJJjpAQw==", + "version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2191.0.0+c02b63f8/lib-jitsi-meet.tgz", + "integrity": "sha512-754y9O9yvxxnYKz0fabapRom6VV1oxGf0F+80qOINQ9Jukc3YN/r3FM5ftUdrV4EECXXH8LX9mQ8WKlxG3J7/A==", "requires": { "@jitsi/js-utils": "6.3.2", "@jitsi/logger": "2.1.1", diff --git a/package.json b/package.json index d7952e6a1f7a..c3d42639352b 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "js-md5": "0.6.1", "js-sha512": "0.8.0", "jwt-decode": "2.2.0", - "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2190.0.0+63a04eca/lib-jitsi-meet.tgz", + "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v2191.0.0+c02b63f8/lib-jitsi-meet.tgz", "lodash-es": "4.18.1", "null-loader": "4.0.1", "optional-require": "1.0.3",