Fixes showing remote resolutions in UI.

This commit is contained in:
damencho 2016-01-20 22:54:05 -06:00
parent 8787723330
commit c54e6c0f3c
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ StatsCollector.prototype.processStatsReport = function () {
if (resolutions) { // use id instead of jid
Object.keys(resolutions).forEach(function (jid) {
let id = Strophe.getResourceFromJid(jid);
resolution[id] = resolutions[id];
idResolution[id] = resolutions[jid];
});
}
this.eventEmitter.emit(StatisticsEvents.CONNECTION_STATS,