Revert "Show RoomList when cached state is loaded"
This reverts commit db5f328539.
This commit is contained in:
@@ -292,9 +292,6 @@ void Controller::invokeLogin()
|
|||||||
setActiveConnection(connection);
|
setActiveConnection(connection);
|
||||||
connectSingleShot(connection, &Connection::syncDone, this, &Controller::initiated);
|
connectSingleShot(connection, &Connection::syncDone, this, &Controller::initiated);
|
||||||
}
|
}
|
||||||
if (!connection->nextBatchToken().isEmpty()) {
|
|
||||||
Q_EMIT initiated();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
connect(connection, &Connection::loginError, this, [this, connection](const QString &error, const QString &) {
|
connect(connection, &Connection::loginError, this, [this, connection](const QString &error, const QString &) {
|
||||||
if (error == "Unrecognised access token") {
|
if (error == "Unrecognised access token") {
|
||||||
|
|||||||
Reference in New Issue
Block a user