Add method to get contact ids of existing custodians

This commit is contained in:
ameba23
2022-03-03 10:48:23 +01:00
parent c0932b4df1
commit b7bdad4b67
2 changed files with 33 additions and 0 deletions

View File

@@ -78,4 +78,11 @@ public interface SocialBackupManager extends
*/
byte[] getReturnShardPayloadBytes(Transaction txn, ContactId contactId)
throws DbException;
/**
* Get a list of the contact ids of your custodians, or an empty
* list if no backup exists.
*/
List<ContactId> getCustodianContactIds(Transaction txn);
}