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