refactor: Don't calculate remote connection quality.
This commit is contained in:
parent
09016c2182
commit
c98ffdc817
|
@ -1304,8 +1304,8 @@ export default {
|
|||
});
|
||||
|
||||
room.on(ConnectionQualityEvents.REMOTE_STATS_UPDATED,
|
||||
(id, percent, stats) => {
|
||||
APP.UI.updateRemoteStats(id, percent, stats);
|
||||
(id, stats) => {
|
||||
APP.UI.updateRemoteStats(id, stats.connectionQuality, stats);
|
||||
});
|
||||
|
||||
room.addCommandListener(this.commands.defaults.ETHERPAD, ({value}) => {
|
||||
|
@ -1317,9 +1317,10 @@ export default {
|
|||
APP.UI.setUserEmail(from, data.value);
|
||||
});
|
||||
|
||||
room.addCommandListener(this.commands.defaults.AVATAR_URL,
|
||||
(data, from) => {
|
||||
APP.UI.setUserAvatarUrl(from, data.value);
|
||||
room.addCommandListener(
|
||||
this.commands.defaults.AVATAR_URL,
|
||||
(data, from) => {
|
||||
APP.UI.setUserAvatarUrl(from, data.value);
|
||||
});
|
||||
|
||||
room.addCommandListener(this.commands.defaults.AVATAR_ID,
|
||||
|
|
Loading…
Reference in New Issue