mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
parent
23fcd8a230
commit
4377a2179b
3 changed files with 80 additions and 2 deletions
|
@ -992,6 +992,16 @@ public class Main {
|
|||
System.out.println(" - " + number);
|
||||
}
|
||||
}
|
||||
if (syncMessage.getVerified().isPresent()) {
|
||||
System.out.println("Received sync message with verified identities:");
|
||||
final List<VerifiedMessage> verifiedList = syncMessage.getVerified().get();
|
||||
for (VerifiedMessage v : verifiedList) {
|
||||
System.out.println(" - " + v.getDestination() + ": " + v.getVerified());
|
||||
String safetyNumber = formatSafetyNumber(m.computeSafetyNumber(v.getDestination(), v.getIdentityKey()));
|
||||
System.out.println(" " + safetyNumber);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue