Handle absence of personal information in Keybase search result

This commit is contained in:
Tim Bray 2014-09-21 10:24:48 -07:00
parent d4387c0179
commit edf87d09cb

View File

@ -82,7 +82,10 @@ public class KeybaseKeyserver extends Keyserver {
entry.setAlgorithm(KeyFormattingUtils.getAlgorithmInfo(algorithmId, bitStrength, null));
ArrayList<String> userIds = new ArrayList<String>();
String name = fullName + " <keybase.io/" + username + ">";
String name = "<keybase.io/" + username + ">";
if (fullName != null) {
name = fullName + " " + name;
}
userIds.add(name);
List<String> proofLabels = match.getProofLabels();