fix: Adapts to changes in lib-jitsi-meet. (#2354)

This commit is contained in:
bgrozev 2018-01-03 18:07:39 -06:00 committed by virtuacoplenny
parent 090f2f9ccb
commit 43ac039fd6
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ export default class JitsiMeetLogStorage {
// on the way that could be uninitialized if the storeLogs
// attempt would be made very early (which is unlikely)
try {
APP.conference.room.sendApplicationLog(logMessage);
APP.conference._room.sendApplicationLog(logMessage);
} catch (error) {
// NOTE console is intentional here
console.error(

View File

@ -162,8 +162,8 @@ export default class AbstractPageReloadOverlay extends Component<*, *> {
// sent to the backed.
// FIXME: We should dispatch action for this.
if (typeof APP !== 'undefined') {
if (APP.conference && APP.conference.room) {
APP.conference.room.sendApplicationLog(JSON.stringify(
if (APP.conference && APP.conference._room) {
APP.conference._room.sendApplicationLog(JSON.stringify(
{
name: 'page.reload',
label: this.props.reason