Cleanup pull keybase code

This commit is contained in:
Dominik Schürmann 2014-06-21 21:31:00 +02:00
parent 4ae5c56b73
commit 0c3a478a43

View File

@ -62,8 +62,7 @@ public class KeybaseKeyserver extends Keyserver {
entry.setQuery(mQuery); entry.setQuery(mQuery);
entry.setOrigin(ORIGIN); entry.setOrigin(ORIGIN);
String username = null; String username = match.getUsername();
username = match.getUsername();
String fullName = match.getFullName(); String fullName = match.getFullName();
String fingerprint = match.getFingerprint(); String fingerprint = match.getFingerprint();
entry.setFingerprintHex(fingerprint); entry.setFingerprintHex(fingerprint);
@ -93,10 +92,6 @@ public class KeybaseKeyserver extends Keyserver {
@Override @Override
public String get(String id) throws QueryFailedException { public String get(String id) throws QueryFailedException {
try { try {
/*
JSONObject user = getUser(id);
return JWalk.getString(user, "them", "public_keys", "primary", "bundle");
*/
return User.keyForUsername(id); return User.keyForUsername(id);
} catch (KeybaseException e) { } catch (KeybaseException e) {
throw new QueryFailedException(e.getMessage()); throw new QueryFailedException(e.getMessage());