Fixes showing remote resolutions in UI.
This commit is contained in:
parent
8787723330
commit
c54e6c0f3c
|
@ -648,7 +648,7 @@ StatsCollector.prototype.processStatsReport = function () {
|
||||||
if (resolutions) { // use id instead of jid
|
if (resolutions) { // use id instead of jid
|
||||||
Object.keys(resolutions).forEach(function (jid) {
|
Object.keys(resolutions).forEach(function (jid) {
|
||||||
let id = Strophe.getResourceFromJid(jid);
|
let id = Strophe.getResourceFromJid(jid);
|
||||||
resolution[id] = resolutions[id];
|
idResolution[id] = resolutions[jid];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.eventEmitter.emit(StatisticsEvents.CONNECTION_STATS,
|
this.eventEmitter.emit(StatisticsEvents.CONNECTION_STATS,
|
||||||
|
|
Loading…
Reference in New Issue