Merge pull request #871 from timbray/master

Handle absence of personal information in Keybase search result
This commit is contained in:
Dominik Schürmann 2014-09-21 21:48:13 +02:00
commit 1dd68c7120

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();