diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-14 13:10:38 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-14 13:10:38 +0200 |
commit | 37edd0f390064e725d1b5c1c866a76c9922b0f64 (patch) | |
tree | aa04c326a6e874fd35e7125f24e3c3e67474035f /OpenKeychain/src/main/java/org | |
parent | 1a8606f194ec0a4ba54abb49f7e679e9283f6a6b (diff) | |
download | open-keychain-37edd0f390064e725d1b5c1c866a76c9922b0f64.tar.gz open-keychain-37edd0f390064e725d1b5c1c866a76c9922b0f64.tar.bz2 open-keychain-37edd0f390064e725d1b5c1c866a76c9922b0f64.zip |
API: Return metadata only for v4 api clients and above...
Diffstat (limited to 'OpenKeychain/src/main/java/org')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java index fd616f0cd..492ade7c3 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java @@ -428,7 +428,7 @@ public class OpenPgpService extends RemoteService { } } - if (data.getIntExtra(OpenPgpApi.EXTRA_API_VERSION, -1) == 4) { + if (data.getIntExtra(OpenPgpApi.EXTRA_API_VERSION, -1) >= 4) { OpenPgpMetadata metadata = decryptVerifyResult.getDecryptMetadata(); if (metadata != null) { result.putExtra(OpenPgpApi.RESULT_METADATA, metadata); |