case "connect":
if (!this.people[data.from]) {
this.people[data.from] = { focus: true };
- this.$forceUpdate(); //TODO: shouldn't be required
this.newConnect[data.from] = true; //for self multi-connects tests
this.send("askidentity", { target: data.from });
+ } else if (!this.people[data.from].focus) {
+ this.people[data.from].focus = true;
+ this.$forceUpdate(); //TODO: shouldn't be required
}
break;
case "disconnect":