diff --git a/src/controller.cpp b/src/controller.cpp index 92defd35d..0aadd88f4 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -292,6 +292,9 @@ void Controller::invokeLogin() setActiveConnection(connection); 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 &) { if (error == "Unrecognised access token") {