aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/crypto
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-07-01 16:01:18 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-07-01 16:01:18 +0200
commitc20a088ea811ab702244006fa2588cbdf7be0099 (patch)
tree0f73aa6e608a6103c7ce0575acc050e17129dc4a /src/main/java/eu/siacs/conversations/crypto
parented88b634fc8354d45df95745836dc5db0d58176b (diff)
changed mime type handling
Diffstat (limited to 'src/main/java/eu/siacs/conversations/crypto')
-rw-r--r--src/main/java/eu/siacs/conversations/crypto/PgpEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java b/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java
index 32b9b9242..cba80ba0b 100644
--- a/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java
+++ b/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java
@@ -59,7 +59,7 @@ public class PgpEngine {
message.setEncryption(Message.ENCRYPTION_DECRYPTED);
final HttpConnectionManager manager = mXmppConnectionService.getHttpConnectionManager();
if (message.trusted()
- && message.treatAsDownloadable() == Message.Decision.YES
+ && message.treatAsDownloadable() != Message.Decision.NEVER
&& manager.getAutoAcceptFileSize() > 0) {
manager.createNewConnection(message);
}