mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
Update libsignal-service
This commit is contained in:
parent
804949ddea
commit
9b56aa6259
6 changed files with 30 additions and 57 deletions
|
@ -1012,13 +1012,10 @@ public class Main {
|
|||
}
|
||||
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);
|
||||
}
|
||||
|
||||
final VerifiedMessage verifiedMessage = syncMessage.getVerified().get();
|
||||
System.out.println(" - " + verifiedMessage.getDestination() + ": " + verifiedMessage.getVerified());
|
||||
String safetyNumber = formatSafetyNumber(m.computeSafetyNumber(verifiedMessage.getDestination(), verifiedMessage.getIdentityKey()));
|
||||
System.out.println(" " + safetyNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue