Open guzzlefry opened 9 years ago
Status window is created in the IRCClient UI adapter when a client connects. Why don't you want the status window to appear?
We've replaced a proprietary chat platform with an IRC-based one and would rather hide the status since it will probably confuse our users.
Makes sense. I'll be around tonight - ping me here or on GeeksIRC if theres any gotchas you run into
Thanks, which channel would that be?
Join #brouhaha
Try something like this to close the Status
window right after it opens
app.addEvent("login:once", function() {
_.defer(function() {
var statusWindow = app.getWindow(app.clients[0], qwebirc.lang.windowNames.status);
statusWindow.close();
});
});
Add a configuration option to hide the status window from users.
I can probably wing this myself with some clues on where to look. I can't find the bit of code that creates the tab/window.