From caafd8c0bc717629ef18de17b8ec84d06012bf99 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 8 Sep 2021 20:30:16 +0200 Subject: [PATCH] Don't try removing the access token from the accountsettings --- src/controller.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controller.cpp b/src/controller.cpp index 7184570f2..bf2c988a4 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -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);