1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +03:00

Remove dead Login.loginAsGuest()

This commit is contained in:
Travis Ralston
2019-04-05 11:00:25 -06:00
parent 650185e578
commit 0e7688da98
2 changed files with 0 additions and 23 deletions

View File

@ -203,9 +203,6 @@ export function handleInvalidStoreError(e) {
function _registerAsGuest(hsUrl, isUrl, defaultDeviceDisplayName) {
console.log(`Doing guest login on ${hsUrl}`);
// TODO: we should probably de-duplicate this and Login.loginAsGuest.
// Not really sure where the right home for it is.
// create a temporary MatrixClient to do the login
const client = Matrix.createClient({
baseUrl: hsUrl,