Do not ignore window opens when considering active channels
This commit is contained in:
parent
3e6a3651e9
commit
555902bfba
@ -377,8 +377,14 @@ Client.prototype.more = function(data) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
Client.prototype.open = function(socketId, data) {
|
Client.prototype.open = function(socketId, target) {
|
||||||
var target = this.find(data);
|
// Opening a window like settings
|
||||||
|
if (target === null) {
|
||||||
|
this.attachedClients[socketId] = -1;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
target = this.find(target);
|
||||||
if (!target) {
|
if (!target) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user