mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
Cleanup pull keybase code
This commit is contained in:
parent
4ae5c56b73
commit
0c3a478a43
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user