From 1aed7e6237fb93ede1c8c141622043735ea8fe83 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 5 Jan 2015 13:02:43 +0100 Subject: [PATCH] Fixes NPE. --- videolayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videolayout.js b/videolayout.js index f3d762268..da3751ab9 100644 --- a/videolayout.js +++ b/videolayout.js @@ -2005,7 +2005,7 @@ var VideoLayout = (function (my) { } var resolutionValue = null; - if(this.resolution) + if(this.resolution && this.jid != null) { var keys = Object.keys(this.resolution); if(keys.length == 1)