void MyList::setupRequestHandler()
{
#ifndef LOCALMYLIST_NO_ANIDBUDPCLIENT
- if (m_requestHandler || !db->isConnected())
+ if (m_requestHandler || !db->isConnected() || !udpClientId())
return;
m_requestHandler = new RequestHandler(db, this);
this->db = db;
connect(this, SIGNAL(batchFinished()), this, SLOT(handleRequests()), Qt::QueuedConnection);
connect(this, SIGNAL(myListUpdateBatchFinished()), this, SLOT(handleMyListUpdates()), Qt::QueuedConnection);
+
+ db->failPendingRequestsFromOldClients();
}
void RequestHandler::handleRequests()