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
|
|| subject
|
||||||
|| callDisplayName
|
|| callDisplayName
|
||||||
|| (callee && callee.name)
|
|| (callee && callee.name)
|
||||||
|| safeStartCase(safeDecodeURIComponent(room));
|
|| (room && safeStartCase(safeDecodeURIComponent(room)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -161,9 +161,11 @@ class PreMeetingScreen extends PureComponent<Props> {
|
||||||
<h1 className = 'title'>
|
<h1 className = 'title'>
|
||||||
{ title }
|
{ title }
|
||||||
</h1>
|
</h1>
|
||||||
<span className = { classes.subtitle }>
|
{ _roomName && (
|
||||||
{_roomName}
|
<span className = { classes.subtitle }>
|
||||||
</span>
|
{_roomName}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
{ children }
|
{ children }
|
||||||
{ _buttons.length && <Toolbox toolbarButtons = { _buttons } /> }
|
{ _buttons.length && <Toolbox toolbarButtons = { _buttons } /> }
|
||||||
{ skipPrejoinButton }
|
{ skipPrejoinButton }
|
||||||
|
|
Loading…
Reference in New Issue