mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-03 14:14:22 +01:00
Add listContacts subcommand (#248)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user