mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Only remove PendingContact from UI when removed from DB
This commit is contained in:
@@ -79,8 +79,10 @@ public interface ContactManager {
|
||||
/**
|
||||
* Removes a {@link PendingContact} that is in state
|
||||
* {@link PendingContactState FAILED}.
|
||||
* @param commitAction an action to run on the main thread after removing.
|
||||
*/
|
||||
void removePendingContact(PendingContact pendingContact) throws DbException;
|
||||
void removePendingContact(PendingContact pendingContact,
|
||||
Runnable commitAction) throws DbException;
|
||||
|
||||
/**
|
||||
* Returns the contact with the given ID.
|
||||
|
||||
Reference in New Issue
Block a user