mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Merge pull request #3712 from thelounge/xpaw/fix-3302
Add support for webirc secure option
This commit is contained in:
commit
f12a13916b
1 changed files with 7 additions and 0 deletions
|
@ -174,6 +174,13 @@ Network.prototype.createWebIrc = function(client) {
|
|||
hostname: client.config.browser.hostname,
|
||||
};
|
||||
|
||||
// https://ircv3.net/specs/extensions/webirc#options
|
||||
if (client.config.browser.isSecure) {
|
||||
webircObject.options = {
|
||||
secure: true,
|
||||
};
|
||||
}
|
||||
|
||||
if (typeof Helper.config.webirc[this.host] === "function") {
|
||||
webircObject.password = null;
|
||||
return Helper.config.webirc[this.host](webircObject, this);
|
||||
|
|
Loading…
Reference in a new issue