Add ?channels=x,y,z alias for ?join=x,y,z
For backwards compat. with Iris and other systems.
This commit is contained in:
parent
80c6e48b98
commit
950bad1d7a
@ -581,6 +581,10 @@ $(function() {
|
||||
$("#connect").one("show", function() {
|
||||
const params = URI(document.location.search).search(true);
|
||||
|
||||
if ("channels" in params) {
|
||||
params.join = params.channels;
|
||||
}
|
||||
|
||||
// Possible parameters: name, host, port, password, tls, nick, username, realname, join
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in#Iterating_over_own_properties_only
|
||||
for (let key in params) {
|
||||
|
Loading…
Reference in New Issue
Block a user