fix(prejoin) show subject in prejoin if available (#12338)

This commit is contained in:
Avram Tudor 2022-10-07 15:14:53 +03:00 committed by GitHub
parent 179647c93c
commit 66769136ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -186,9 +186,10 @@ export function getConferenceName(stateful: IStateful): string {
const state = toState(stateful); const state = toState(stateful);
const { callee } = state['features/base/jwt']; const { callee } = state['features/base/jwt'];
const { callDisplayName } = state['features/base/config']; const { callDisplayName } = state['features/base/config'];
const { localSubject, room, subject } = getConferenceState(state); const { localSubject, pendingSubjectChange, room, subject } = getConferenceState(state);
return (localSubject return (pendingSubjectChange
|| localSubject
|| subject || subject
|| callDisplayName || callDisplayName
|| callee?.name || callee?.name