mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Add method to get the local list of wipers
This commit is contained in:
@@ -5,6 +5,7 @@ import org.briarproject.bramble.api.contact.Contact;
|
|||||||
import org.briarproject.bramble.api.contact.ContactId;
|
import org.briarproject.bramble.api.contact.ContactId;
|
||||||
import org.briarproject.bramble.api.db.DbException;
|
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.identity.Author;
|
||||||
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.ConversationManager;
|
import org.briarproject.briar.api.conversation.ConversationManager;
|
||||||
@@ -46,6 +47,10 @@ public interface RemoteWipeManager extends ConversationManager.ConversationClien
|
|||||||
|
|
||||||
boolean amWiper(Transaction txn, ContactId contactId);
|
boolean amWiper(Transaction txn, ContactId contactId);
|
||||||
|
|
||||||
|
boolean remoteWipeIsSetup(Transaction txn);
|
||||||
|
|
||||||
|
List<Author> getWipers(Transaction txn) throws DbException;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
Collection<ConversationMessageHeader> getMessageHeaders(
|
Collection<ConversationMessageHeader> getMessageHeaders(
|
||||||
Transaction txn, ContactId contactId) throws DbException;
|
Transaction txn, ContactId contactId) throws DbException;
|
||||||
|
|||||||
Reference in New Issue
Block a user