aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-06 20:18:34 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-06 20:18:34 +0100
commit1cf05fccdb0823a99e0ea33cc51150c7e31f2f1e (patch)
tree9acade8e43abf17761cf5248494e6d75304c0d25 /src/eu
parent3e52daf5e1e77662adc4a782d1b37c9a51fce13b (diff)
api updated
Diffstat (limited to 'src/eu')
-rw-r--r--src/eu/siacs/conversations/crypto/PgpEngine.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/crypto/PgpEngine.java b/src/eu/siacs/conversations/crypto/PgpEngine.java
index bc3aaa8c..5e480ae5 100644
--- a/src/eu/siacs/conversations/crypto/PgpEngine.java
+++ b/src/eu/siacs/conversations/crypto/PgpEngine.java
@@ -33,7 +33,7 @@ public class PgpEngine {
throw new UserInputRequiredException((PendingIntent) result.getParcelableExtra(OpenPgpApi.RESULT_INTENT));
case OpenPgpApi.RESULT_CODE_ERROR:
throw new OpenPgpException(
- (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS));
+ (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERROR));
default:
return null;
}
@@ -91,7 +91,7 @@ public class PgpEngine {
break;
case OpenPgpApi.RESULT_CODE_ERROR:
throw new OpenPgpException(
- (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERRORS));
+ (OpenPgpError) result.getParcelableExtra(OpenPgpApi.RESULT_ERROR));
}
return 0;
}