fix(external-api) Add email to local participant info
This commit is contained in:
parent
35442c6094
commit
9d57c8e058
|
@ -553,6 +553,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
|
||||
this._myUserID = userID;
|
||||
this._participants[userID] = {
|
||||
email: data.email,
|
||||
avatarURL: data.avatarURL
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue