mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
Refactor contact and profile store
This commit is contained in:
parent
a96bd91770
commit
224d8194cc
31 changed files with 1393 additions and 729 deletions
|
@ -18,7 +18,10 @@ public class ListContactsCommand implements LocalCommand {
|
|||
|
||||
var contacts = m.getContacts();
|
||||
for (var c : contacts) {
|
||||
writer.println("Number: {} Name: {} Blocked: {}", c.number, c.name, c.blocked);
|
||||
writer.println("Number: {} Name: {} Blocked: {}",
|
||||
m.resolveSignalServiceAddress(c.first()).getLegacyIdentifier(),
|
||||
c.second().getName(),
|
||||
c.second().isBlocked());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue