{_t("Incorrect username and/or password.")}
{_t("Please note you are logging into the %(hs)s server, not matrix.org.", {
hs: serverConfig.hsName,
})}
);
} else {
return _t("Incorrect username and/or password.");
}
} else {
return messageForConnectionError(err, serverConfig);
}
}
export function messageForConnectionError(
err: Error,
serverConfig: Pick