Add a method to add recovered contacts to db

This commit is contained in:
ameba23
2021-04-22 17:42:33 +02:00
parent b1c6c602a6
commit 07141b688a
2 changed files with 34 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
package org.briarproject.briar.api.socialbackup.recovery;
import org.briarproject.bramble.api.FormatException;
import org.briarproject.bramble.api.db.DbException;
import org.briarproject.briar.api.socialbackup.ReturnShardPayload;
import org.briarproject.briar.api.socialbackup.SocialBackup;
@@ -17,4 +18,6 @@ public interface RestoreAccount {
int recover() throws FormatException, GeneralSecurityException;
SocialBackup getSocialBackup();
void addContactsToDb() throws InterruptedException, DbException;
}