Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},

/**
Expand Down
4 changes: 2 additions & 2 deletions modules/API/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading