mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 13:19:52 +01:00
Allow Validator to access metadata for pending messages
Database queries for metadata only returned it for messages that were delivered already. However, there are cases (e.g. a pending message needs to be delivered) where the validator needs to retrieve the metadata from the database. For these cases, a special database query has been introduced.
This commit is contained in:
@@ -12,7 +12,6 @@ import org.briarproject.api.db.Metadata;
|
||||
import org.briarproject.api.db.Transaction;
|
||||
import org.briarproject.api.sync.Message;
|
||||
import org.briarproject.api.sync.ValidationManager.IncomingMessageHook;
|
||||
import org.briarproject.api.system.Clock;
|
||||
|
||||
import static org.briarproject.api.clients.QueueMessage.QUEUE_MESSAGE_HEADER_LENGTH;
|
||||
import static org.briarproject.api.sync.SyncConstants.MESSAGE_HEADER_LENGTH;
|
||||
|
||||
Reference in New Issue
Block a user