mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
Stop the cleanup timer if the hook returns false.
This commit is contained in:
@@ -163,6 +163,7 @@ class CleanupManagerImpl implements CleanupManager, Service, EventListener {
|
|||||||
messageIds.add(m);
|
messageIds.add(m);
|
||||||
} else {
|
} else {
|
||||||
LOG.info("Message was not deleted");
|
LOG.info("Message was not deleted");
|
||||||
|
db.stopCleanupTimer(txn, m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (Entry<GroupId, Collection<MessageId>> e : deleted.entrySet()) {
|
for (Entry<GroupId, Collection<MessageId>> e : deleted.entrySet()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user