MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / onQueueTimeoutTimerFire

Method onQueueTimeoutTimerFire

src/database/SimpleDatabase.cpp:262–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 void SimpleDatabase::onQueueTimeoutTimerFire() {
263 LOGGER_DEBUG("Database queue timeout timer fired, checking database...");
264
265 bool resetQueueChangedAnItem = false;
266 resetQueueChangedAnItem = resetQueueChangedAnItem || internal::DatabaseContactMessage::resetQueueStatus(this, 30);
267 resetQueueChangedAnItem = resetQueueChangedAnItem || internal::DatabaseGroupMessage::resetQueueStatus(this, 30);
268 resetQueueChangedAnItem = resetQueueChangedAnItem || internal::DatabaseControlMessage::resetQueueStatus(this, 30);
269
270 if (resetQueueChangedAnItem) {
271 emit haveQueuedMessages();
272 }
273 }
274
275 QString SimpleDatabase::getDefaultDatabaseFileName() {
276 return QStringLiteral("openmittsu.sqlite");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected