Compare commits

...

1 Commits

Author SHA1 Message Date
Horatiu Muresan 54b29c1afd fix(external-api) Add email to local participant info 2022-09-14 17:10:28 +03:00
2 changed files with 4 additions and 2 deletions

View File

@ -553,6 +553,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
this._myUserID = userID;
this._participants[userID] = {
email: data.email,
avatarURL: data.avatarURL
};
}

View File

@ -89,7 +89,7 @@ MiddlewareRegistry.register(store => next => action => {
const state = store.getState();
const { defaultLocalDisplayName } = state['features/base/config'];
const { room } = state['features/base/conference'];
const { loadableAvatarUrl, name, id } = getLocalParticipant(state);
const { loadableAvatarUrl, name, id, email } = getLocalParticipant(state);
const breakoutRoom = APP.conference.roomName.toString() !== room.toLowerCase();
// we use APP.conference.roomName as we do not update state['features/base/conference'].room when
@ -104,7 +104,8 @@ MiddlewareRegistry.register(store => next => action => {
defaultLocalDisplayName
),
avatarURL: loadableAvatarUrl,
breakoutRoom
breakoutRoom,
email
}
);
break;