mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 14:19:53 +01:00
SocialBackupManager interface has a getMessageHeaders method
This commit is contained in:
@@ -5,7 +5,9 @@ import org.briarproject.bramble.api.db.DbException;
|
|||||||
import org.briarproject.bramble.api.db.Transaction;
|
import org.briarproject.bramble.api.db.Transaction;
|
||||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||||
import org.briarproject.bramble.api.sync.ClientId;
|
import org.briarproject.bramble.api.sync.ClientId;
|
||||||
|
import org.briarproject.briar.api.conversation.ConversationMessageHeader;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
@@ -44,4 +46,7 @@ public interface SocialBackupManager {
|
|||||||
*/
|
*/
|
||||||
void createBackup(Transaction txn, List<ContactId> custodianIds,
|
void createBackup(Transaction txn, List<ContactId> custodianIds,
|
||||||
int threshold) throws DbException;
|
int threshold) throws DbException;
|
||||||
|
|
||||||
|
Collection<ConversationMessageHeader> getMessageHeaders(
|
||||||
|
Transaction txn, ContactId contactId) throws DbException;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user