mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add listContacts subcommand (#248)
This commit is contained in:
parent
b402b65066
commit
e508fc50e9
3 changed files with 32 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue