1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 08:35:57 +01:00

Remove spurious argument to gotConnected.

This commit is contained in:
Juliusz Chroboczek 2023-03-22 18:18:43 +01:00
parent 58ef60f974
commit e47ca20a9f

View file

@ -297,10 +297,9 @@ function setConnected(connected) {
/**
* @this {ServerConnection}
* @param {string} [username]
*/
async function gotConnected(username) {
let credentials;
async function gotConnected() {
let username, credentials;
if(token) {
credentials = {
type: 'token',