Add listContacts subcommand (#248)

This commit is contained in:
VisibleCode 2019-12-03 12:57:27 -08:00 committed by AsamK
parent b402b65066
commit e508fc50e9
3 changed files with 32 additions and 0 deletions

View file

@ -1484,6 +1484,10 @@ public class Manager implements Signal {
sendSyncMessage(SignalServiceSyncMessage.forVerified(verifiedMessage));
}
public List<ContactInfo> getContacts() {
return account.getContactStore().getContacts();
}
public ContactInfo getContact(String number) {
return account.getContactStore().getContact(number);
}