Print uuid in listIdentities command if number unknown

This commit is contained in:
AsamK 2021-12-07 00:02:47 +01:00
parent 10df4338b1
commit e9caf21bd3

View file

@ -31,7 +31,7 @@ public class ListIdentitiesCommand implements JsonRpcLocalCommand {
private static void printIdentityFingerprint(PlainTextWriter writer, Identity theirId) {
writer.println("{}: {} Added: {} Fingerprint: {} Safety Number: {}",
theirId.recipient().number().orElse(null),
theirId.recipient().getLegacyIdentifier(),
theirId.trustLevel(),
theirId.dateAdded(),
Hex.toString(theirId.getFingerprint()),