mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-22 07:39:53 +01:00
Removed redundant message state check.
This commit is contained in:
@@ -205,10 +205,8 @@ class ValidationManagerImpl implements ValidationManager, Service,
|
|||||||
if (e.getValue() != DELIVERED) allDelivered = false;
|
if (e.getValue() != DELIVERED) allDelivered = false;
|
||||||
}
|
}
|
||||||
if (anyInvalid) {
|
if (anyInvalid) {
|
||||||
if (db.getMessageState(txn, id) != INVALID) {
|
invalidateMessage(txn, id);
|
||||||
invalidateMessage(txn, id);
|
invalidate = getDependentsToInvalidate(txn, id);
|
||||||
invalidate = getDependentsToInvalidate(txn, id);
|
|
||||||
}
|
|
||||||
} else if (allDelivered) {
|
} else if (allDelivered) {
|
||||||
Message m = parseMessage(id, db.getRawMessage(txn, id));
|
Message m = parseMessage(id, db.getRawMessage(txn, id));
|
||||||
Group g = db.getGroup(txn, m.getGroupId());
|
Group g = db.getGroup(txn, m.getGroupId());
|
||||||
|
|||||||
Reference in New Issue
Block a user