fix(prejoin) Fix roomname showing for 3rd party prejoin app (#12155)
* fix(prejoin) Fix roomname showing for 3rd party prejoin app * fix: Do not convert roomName to string when undefined. Co-authored-by: damencho <damencho@jitsi.org>
This commit is contained in:
parent
8ce1423373
commit
6e1e6df952
|
@ -192,7 +192,7 @@ export function getConferenceName(stateful: Function | Object): string {
|
|||
|| subject
|
||||
|| callDisplayName
|
||||
|| (callee && callee.name)
|
||||
|| safeStartCase(safeDecodeURIComponent(room));
|
||||
|| (room && safeStartCase(safeDecodeURIComponent(room)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -161,9 +161,11 @@ class PreMeetingScreen extends PureComponent<Props> {
|
|||
<h1 className = 'title'>
|
||||
{ title }
|
||||
</h1>
|
||||
<span className = { classes.subtitle }>
|
||||
{_roomName}
|
||||
</span>
|
||||
{ _roomName && (
|
||||
<span className = { classes.subtitle }>
|
||||
{_roomName}
|
||||
</span>
|
||||
)}
|
||||
{ children }
|
||||
{ _buttons.length && <Toolbox toolbarButtons = { _buttons } /> }
|
||||
{ skipPrejoinButton }
|
||||
|
|
Loading…
Reference in New Issue