Don't try removing the access token from the accountsettings

This commit is contained in:
Tobias Fella
2021-09-08 20:30:16 +02:00
parent 5795bf5429
commit caafd8c0bc

View File

@@ -161,7 +161,6 @@ void Controller::loginWithAccessToken(const QString &serverAddr, const QString &
connect(conn, &Connection::connected, this, [=] {
AccountSettings account(conn->userId());
account.setKeepLoggedIn(true);
account.clearAccessToken(); // Drop the legacy - just in case
account.setHomeserver(conn->homeserver());
account.setDeviceId(conn->deviceId());
account.setDeviceName(deviceName);