Don't try removing the access token from the accountsettings
This commit is contained in:
@@ -161,7 +161,6 @@ void Controller::loginWithAccessToken(const QString &serverAddr, const QString &
|
|||||||
connect(conn, &Connection::connected, this, [=] {
|
connect(conn, &Connection::connected, this, [=] {
|
||||||
AccountSettings account(conn->userId());
|
AccountSettings account(conn->userId());
|
||||||
account.setKeepLoggedIn(true);
|
account.setKeepLoggedIn(true);
|
||||||
account.clearAccessToken(); // Drop the legacy - just in case
|
|
||||||
account.setHomeserver(conn->homeserver());
|
account.setHomeserver(conn->homeserver());
|
||||||
account.setDeviceId(conn->deviceId());
|
account.setDeviceId(conn->deviceId());
|
||||||
account.setDeviceName(deviceName);
|
account.setDeviceName(deviceName);
|
||||||
|
|||||||
Reference in New Issue
Block a user