Fixes NPE.

This commit is contained in:
paweldomas 2015-01-05 13:02:43 +01:00
parent 087c26d494
commit 1aed7e6237
1 changed files with 1 additions and 1 deletions

View File

@ -2005,7 +2005,7 @@ var VideoLayout = (function (my) {
} }
var resolutionValue = null; var resolutionValue = null;
if(this.resolution) if(this.resolution && this.jid != null)
{ {
var keys = Object.keys(this.resolution); var keys = Object.keys(this.resolution);
if(keys.length == 1) if(keys.length == 1)